2018-08-16 07:59:33 -05:00
|
|
|
error: `std` import is ambiguous
|
2018-08-11 03:13:57 -05:00
|
|
|
--> $DIR/ambiguity.rs:15:5
|
|
|
|
|
|
|
|
|
LL | use std::io;
|
2018-08-16 07:59:33 -05:00
|
|
|
| ^^^ can refer to external crate `::std`
|
2018-08-11 03:13:57 -05:00
|
|
|
...
|
|
|
|
LL | / mod std {
|
|
|
|
LL | | pub struct io;
|
|
|
|
LL | | }
|
2018-08-16 07:59:33 -05:00
|
|
|
| |_- can refer to `self::std`
|
2018-08-11 03:13:57 -05:00
|
|
|
|
|
|
|
|
= help: write `::std` or `self::std` explicitly instead
|
|
|
|
= note: relative `use` paths enabled by `#![feature(uniform_paths)]`
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|