fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
938 B25 linesraw
1error: expected unsuffixed literal or identifier, found `n!()`
2  --> $DIR/nonterminal-expansion.rs:5:22
3   |
4LL |         #[repr(align($n))]
5   |                      ^^
6...
7LL | 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
12error[E0693]: incorrect `repr(align)` attribute format: `align` takes exactly one argument in parentheses
13  --> $DIR/nonterminal-expansion.rs:5:16
14   |
15LL |         #[repr(align($n))]
16   |                ^^^^^^^^^
17...
18LL | 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
23error: aborting due to 2 previous errors
24
25For more information about this error, try `rustc --explain E0693`.