1 error: expected identifier, found reserved identifier `$crate`
2 --> $DIR/dollar-crate-is-keyword.rs:6:20
5 | ^^^^^^ expected identifier, found reserved identifier
8 | ---- in this macro invocation
10 = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)
12 error: expected identifier, found reserved identifier `$crate`
13 --> $DIR/dollar-crate-is-keyword.rs:10:23
15 LL | use $crate as $crate;
16 | ^^^^^^ expected identifier, found reserved identifier
19 | ---- in this macro invocation
21 = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)
23 error: `$crate` may not be imported
24 --> $DIR/dollar-crate-is-keyword.rs:9:9
30 | ---- in this macro invocation
32 = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)
34 error: `$crate` may not be imported
35 --> $DIR/dollar-crate-is-keyword.rs:10:9
37 LL | use $crate as $crate;
38 | ^^^^^^^^^^^^^^^^^^^^^
41 | ---- in this macro invocation
43 = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)
45 error: aborting due to 4 previous errors