]> git.proxmox.com Git - rustc.git/blame - src/test/ui/rust-2018/uniform-paths/ambiguity-macros.stderr
New upstream version 1.38.0+dfsg1
[rustc.git] / src / test / ui / rust-2018 / uniform-paths / ambiguity-macros.stderr
CommitLineData
13cf67c4 1error[E0659]: `std` is ambiguous (name vs any other name during import resolution)
0731742a 2 --> $DIR/ambiguity-macros.rs:7:5
13cf67c4
XL
3 |
4LL | use std::io;
5 | ^^^ ambiguous name
6 |
416331ca
XL
7 = note: `std` could refer to a built-in crate
8 = help: use `::std` to refer to this crate unambiguously
13cf67c4 9note: `std` could also refer to the module defined here
0731742a 10 --> $DIR/ambiguity-macros.rs:12:9
b7449926 11 |
b7449926
XL
12LL | / mod std {
13LL | | pub struct io;
14LL | | }
13cf67c4
XL
15 | |_________^
16...
17LL | m!();
18 | ----- in this macro invocation
19 = help: use `crate::std` to refer to this module unambiguously
b7449926
XL
20
21error: aborting due to previous error
22
13cf67c4 23For more information about this error, try `rustc --explain E0659`.