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