summaryrefslogtreecommitdiffstats
path: root/src/test/ui/mismatched_types/show_module.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/mismatched_types/show_module.stderr')
-rw-r--r--src/test/ui/mismatched_types/show_module.stderr23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/test/ui/mismatched_types/show_module.stderr b/src/test/ui/mismatched_types/show_module.stderr
deleted file mode 100644
index 5e48e0955..000000000
--- a/src/test/ui/mismatched_types/show_module.stderr
+++ /dev/null
@@ -1,23 +0,0 @@
-error[E0308]: mismatched types
- --> $DIR/show_module.rs:14:5
- |
-LL | fn foo() -> Foo {
- | --- expected `baz::Foo` because of return type
-LL | meh::Foo
- | ^^^^^^^^ expected struct `baz::Foo`, found struct `meh::Foo`
- |
- = note: struct `meh::Foo` and struct `baz::Foo` have similar names, but are actually distinct types
-note: struct `meh::Foo` is defined in module `crate::meh` of the current crate
- --> $DIR/show_module.rs:8:5
- |
-LL | pub struct Foo;
- | ^^^^^^^^^^^^^^
-note: struct `baz::Foo` is defined in module `crate::blah::baz` of the current crate
- --> $DIR/show_module.rs:3:9
- |
-LL | pub struct Foo;
- | ^^^^^^^^^^^^^^
-
-error: aborting due to previous error
-
-For more information about this error, try `rustc --explain E0308`.