]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/macro-error.stderr
Rollup merge of #95376 - WaffleLapkin:drain_keep_rest, r=dtolnay
[rust.git] / src / test / ui / macros / macro-error.stderr
1 error: macro rhs must be delimited
2   --> $DIR/macro-error.rs:2:18
3    |
4 LL |     ($a:expr) => a;
5    |                  ^
6
7 error: non-type macro in type position: cfg
8   --> $DIR/macro-error.rs:8:12
9    |
10 LL |     let _: cfg!(foo) = ();
11    |            ^^^^^^^^^
12
13 error: aborting due to 2 previous errors
14