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 a string
 --> tests/codama_attribute/error_directive/invalid_message.fail.rs:3:26
  |
3 | #[codama(error(message = 42))]
  |                          ^^

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