]> git.proxmox.com Git - rustc.git/blame - src/test/ui/dollar-crate/dollar-crate-is-keyword-2.stderr
New upstream version 1.43.0+dfsg1
[rustc.git] / src / test / ui / dollar-crate / dollar-crate-is-keyword-2.stderr
CommitLineData
13cf67c4 1error[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 4LL | use a::$crate::b;
b7449926
XL
5 | ^^^^^^ `$crate` in paths can only be used in start position
6...
7LL | 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
12error[E0432]: unresolved import `a::$crate`
0731742a 13 --> $DIR/dollar-crate-is-keyword-2.rs:5:13
b7449926 14 |
532ac7d7 15LL | use a::$crate;
b7449926
XL
16 | ^^^^^^^^^ no `$crate` in `a`
17...
18LL | 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 23error[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 26LL | type A = a::$crate;
b7449926
XL
27 | ^^^^^^ `$crate` in paths can only be used in start position
28...
29LL | 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
34error: aborting due to 3 previous errors
35
48663c56 36Some errors have detailed explanations: E0432, E0433.
b7449926 37For more information about an error, try `rustc --explain E0432`.