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