]> git.proxmox.com Git - rustc.git/blob - tests/ui/rust-2018/uniform-paths/ambiguity-macros-nested.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / rust-2018 / uniform-paths / ambiguity-macros-nested.stderr
1 error[E0659]: `std` is ambiguous
2 --> $DIR/ambiguity-macros-nested.rs:8:13
3 |
4 LL | pub use std::io;
5 | ^^^ ambiguous name
6 |
7 = note: ambiguous because of multiple potential import sources
8 = note: `std` could refer to a built-in crate
9 = help: use `::std` to refer to this crate unambiguously
10 note: `std` could also refer to the module defined here
11 --> $DIR/ambiguity-macros-nested.rs:13:13
12 |
13 LL | / mod std {
14 LL | | pub struct io;
15 LL | | }
16 | |_____________^
17 ...
18 LL | m!();
19 | ---- in this macro invocation
20 = help: use `self::std` to refer to this module unambiguously
21 = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)
22
23 error: aborting due to previous error
24
25 For more information about this error, try `rustc --explain E0659`.