diff options
Diffstat (limited to 'tests/ui/resolve/resolve-conflict-type-vs-import.rs')
-rw-r--r-- | tests/ui/resolve/resolve-conflict-type-vs-import.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ui/resolve/resolve-conflict-type-vs-import.rs b/tests/ui/resolve/resolve-conflict-type-vs-import.rs new file mode 100644 index 000000000..3abce8396 --- /dev/null +++ b/tests/ui/resolve/resolve-conflict-type-vs-import.rs @@ -0,0 +1,7 @@ +use std::slice::Iter; + +struct Iter; +//~^ ERROR the name `Iter` is defined multiple times + +fn main() { +} |