1 error[E0433]: failed to resolve. `$crate` in paths can only be used in start position
2 --> $DIR/dollar-crate-is-keyword-2.rs:16:16
4 LL | use a::$crate::b; //~ ERROR `$crate` in paths can only be used in start position
5 | ^^^^^^ `$crate` in paths can only be used in start position
8 | ----- in this macro invocation
10 error[E0432]: unresolved import `a::$crate`
11 --> $DIR/dollar-crate-is-keyword-2.rs:15:13
13 LL | use a::$crate; //~ ERROR unresolved import `a::$crate`
14 | ^^^^^^^^^ no `$crate` in `a`
17 | ----- in this macro invocation
19 error[E0433]: failed to resolve. `$crate` in paths can only be used in start position
20 --> $DIR/dollar-crate-is-keyword-2.rs:17:21
22 LL | type A = a::$crate; //~ ERROR `$crate` in paths can only be used in start position
23 | ^^^^^^ `$crate` in paths can only be used in start position
26 | ----- in this macro invocation
28 error: aborting due to 3 previous errors
30 Some errors occurred: E0432, E0433.
31 For more information about an error, try `rustc --explain E0432`.