codama-macros 0.10.0

Procedural macros for the Codama standard
Documentation
1
2
3
4
5
6
7
8
9
10
11
error: expected an unsigned integer
 --> tests/codama_attribute/error_directive/invalid_code.fail.rs:3:23
  |
3 | #[codama(error(code = "42"))]
  |                       ^^^^

error: expected a valid expression
 --> tests/codama_attribute/error_directive/invalid_code.fail.rs:6:23
  |
6 | #[codama(error(code = foo(bar)))]
  |                       ^^^^^^^^