summaryrefslogtreecommitdiffstats
path: root/src/test/ui/mismatched_types/show_module.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/mismatched_types/show_module.rs')
-rw-r--r--src/test/ui/mismatched_types/show_module.rs18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/test/ui/mismatched_types/show_module.rs b/src/test/ui/mismatched_types/show_module.rs
deleted file mode 100644
index 61550b887..000000000
--- a/src/test/ui/mismatched_types/show_module.rs
+++ /dev/null
@@ -1,18 +0,0 @@
-pub mod blah {
- pub mod baz {
- pub struct Foo;
- }
-}
-
-pub mod meh {
- pub struct Foo;
-}
-
-pub type Foo = blah::baz::Foo;
-
-fn foo() -> Foo {
- meh::Foo
- //~^ ERROR mismatched types [E0308]
-}
-
-fn main() {}