Debian Codegraph @

tests/compile-fail/length_expr.stderr

raw
1 error: Only field names, constants, integers, basic arithmetic expressions (+ - * / %) and parentheses are allowed in the "length" attribute
2 --> $DIR/length_expr.rs:16:16
3 |
4 16 | #[length = "banana + 7.5"] //~ ERROR Only field names, constants, integers, basic arithmetic expressions (+ - * / %) and parentheses ...
5 | ^^^^^^^^^^^^^^