1 error[E0308]: mismatched types
2 --> $DIR/show_module.rs:14:5
5 | --- expected `baz::Foo` because of return type
7 | ^^^^^^^^ expected struct `baz::Foo`, found struct `meh::Foo`
9 = note: struct `meh::Foo` and struct `baz::Foo` have similar names, but are actually distinct types
10 note: struct `meh::Foo` is defined in module `crate::meh` of the current crate
11 --> $DIR/show_module.rs:8:5
15 note: struct `baz::Foo` is defined in module `crate::blah::baz` of the current crate
16 --> $DIR/show_module.rs:3:9
21 error: aborting due to previous error
23 For more information about this error, try `rustc --explain E0308`.