]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rust-2018/uniform-paths/ambiguity.stderr
Rollup merge of #53413 - eddyb:featured-in-the-latest-edition, r=varkor
[rust.git] / src / test / ui / rust-2018 / uniform-paths / ambiguity.stderr
1 error: `std` import is ambiguous
2   --> $DIR/ambiguity.rs:15:5
3    |
4 LL |   use std::io;
5    |       ^^^ can refer to external crate `::std`
6 ...
7 LL | / mod std {
8 LL | |     pub struct io;
9 LL | | }
10    | |_- can refer to `self::std`
11    |
12    = help: write `::std` or `self::std` explicitly instead
13    = note: relative `use` paths enabled by `#![feature(uniform_paths)]`
14
15 error: aborting due to previous error
16