rust/src/test/ui/rust-2018/uniform-paths/block-scoped-shadow.stderr

14 lines
369 B
Plaintext
Raw Normal View History

error: import from `Foo` is ambiguous
--> $DIR/block-scoped-shadow.rs:19:9
|
LL | enum Foo {}
| ----------- shadowed by block-scoped `Foo`
LL | use Foo::*;
| ^^^
|
= help: write `::Foo` or `self::Foo` explicitly instead
= note: relative `use` paths enabled by `#![feature(uniform_paths)]`
error: aborting due to previous error