rust/tests/ui/attributes/nonterminal-expansion.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
693 B
Plaintext
Raw Normal View History

2024-05-05 18:25:49 -05:00
error: expected unsuffixed literal, found `n!()`
--> $DIR/nonterminal-expansion.rs:7:22
|
LL | #[repr(align($n))]
| ^^
...
LL | pass_nonterminal!(n!());
2021-10-14 13:28:28 -05:00
| ----------------------- in this macro invocation
|
= note: this error originates in the macro `pass_nonterminal` (in Nightly builds, run with -Z macro-backtrace for more info)
2024-03-02 09:18:06 -06:00
error[E0693]: incorrect `repr(align)` attribute format: `align` expects a literal integer as argument
--> $DIR/nonterminal-expansion.rs:17:19
|
LL | pass_nonterminal!(n!());
| ^
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0693`.