]> git.lizzy.rs Git - rust.git/blob - tests/ui/attributes/nonterminal-expansion.stderr
Auto merge of #107828 - compiler-errors:rollup-gyj6dgj, r=compiler-errors
[rust.git] / tests / ui / attributes / nonterminal-expansion.stderr
1 error: expected unsuffixed literal or identifier, found `n!()`
2   --> $DIR/nonterminal-expansion.rs:5:22
3    |
4 LL |         #[repr(align($n))]
5    |                      ^^
6 ...
7 LL | pass_nonterminal!(n!());
8    | ----------------------- in this macro invocation
9    |
10    = note: this error originates in the macro `pass_nonterminal` (in Nightly builds, run with -Z macro-backtrace for more info)
11
12 error[E0693]: incorrect `repr(align)` attribute format: `align` takes exactly one argument in parentheses
13   --> $DIR/nonterminal-expansion.rs:5:16
14    |
15 LL |         #[repr(align($n))]
16    |                ^^^^^^^^^
17 ...
18 LL | pass_nonterminal!(n!());
19    | ----------------------- in this macro invocation
20    |
21    = note: this error originates in the macro `pass_nonterminal` (in Nightly builds, run with -Z macro-backtrace for more info)
22
23 error: aborting due to 2 previous errors
24
25 For more information about this error, try `rustc --explain E0693`.