]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rust-2018/uniform-paths/ambiguity.stderr
Rollup merge of #89876 - AlexApps99:const_ops, r=oli-obk
[rust.git] / src / test / ui / rust-2018 / uniform-paths / ambiguity.stderr
1 error[E0659]: `std` is ambiguous
2   --> $DIR/ambiguity.rs:5:5
3    |
4 LL | 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.rs:8:1
12    |
13 LL | / mod std {
14 LL | |     pub struct io;
15 LL | | }
16    | |_^
17    = help: use `crate::std` to refer to this module unambiguously
18
19 error: aborting due to previous error
20
21 For more information about this error, try `rustc --explain E0659`.