summaryrefslogtreecommitdiffstats
path: root/src/test/ui/rust-2018/uniform-paths/block-scoped-shadow-nested.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/rust-2018/uniform-paths/block-scoped-shadow-nested.rs')
-rw-r--r--src/test/ui/rust-2018/uniform-paths/block-scoped-shadow-nested.rs20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/test/ui/rust-2018/uniform-paths/block-scoped-shadow-nested.rs b/src/test/ui/rust-2018/uniform-paths/block-scoped-shadow-nested.rs
deleted file mode 100644
index 3f5897901..000000000
--- a/src/test/ui/rust-2018/uniform-paths/block-scoped-shadow-nested.rs
+++ /dev/null
@@ -1,20 +0,0 @@
-// edition:2018
-
-mod my {
- pub mod sub {
- pub fn bar() {}
- }
-}
-
-mod sub {
- pub fn bar() {}
-}
-
-fn foo() {
- use my::sub;
- {
- use sub::bar; //~ ERROR `sub` is ambiguous
- }
-}
-
-fn main() {}