Commenting out the `impl` makes the build succeed. ``` rust mod foo { use super::*; fn bar() -> Foo { Foo { x: 1 } } impl Foo { } } pub struct Foo { x: int } fn main() {} ``` ``` mod-error.rs:5:8: 5:11 error: `Foo` does not name a structure mod-error.rs:5 Foo { x: 1 } ^~~ error: aborting due to previous error ```