]>
Commit | Line | Data |
---|---|---|
13cf67c4 | 1 | error[E0433]: failed to resolve: `$crate` in paths can only be used in start position |
0731742a | 2 | --> $DIR/dollar-crate-is-keyword-2.rs:6:16 |
b7449926 | 3 | | |
532ac7d7 | 4 | LL | use a::$crate::b; |
b7449926 XL |
5 | | ^^^^^^ `$crate` in paths can only be used in start position |
6 | ... | |
7 | LL | m!(); | |
8 | | ----- in this macro invocation | |
74b04a01 XL |
9 | | |
10 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) | |
b7449926 XL |
11 | |
12 | error[E0432]: unresolved import `a::$crate` | |
0731742a | 13 | --> $DIR/dollar-crate-is-keyword-2.rs:5:13 |
b7449926 | 14 | | |
532ac7d7 | 15 | LL | use a::$crate; |
b7449926 XL |
16 | | ^^^^^^^^^ no `$crate` in `a` |
17 | ... | |
18 | LL | m!(); | |
19 | | ----- in this macro invocation | |
74b04a01 XL |
20 | | |
21 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) | |
b7449926 | 22 | |
13cf67c4 | 23 | error[E0433]: failed to resolve: `$crate` in paths can only be used in start position |
0731742a | 24 | --> $DIR/dollar-crate-is-keyword-2.rs:7:21 |
b7449926 | 25 | | |
532ac7d7 | 26 | LL | type A = a::$crate; |
b7449926 XL |
27 | | ^^^^^^ `$crate` in paths can only be used in start position |
28 | ... | |
29 | LL | m!(); | |
30 | | ----- in this macro invocation | |
74b04a01 XL |
31 | | |
32 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) | |
b7449926 XL |
33 | |
34 | error: aborting due to 3 previous errors | |
35 | ||
48663c56 | 36 | Some errors have detailed explanations: E0432, E0433. |
b7449926 | 37 | For more information about an error, try `rustc --explain E0432`. |