The following two type-definition/module conflicts cause errors: ``` rust enum Foo {} mod Foo {} ``` ``` rust struct Bar { x: bool } mod Bar {} ``` But unit and tuple structs, due to [the special-casing to check for value conflicts](https://github.com/rust-lang/rust/blob/db54339f5a62a694320bd5b80872391cab9f4a1f/src/librustc_resolve/build_reduced_graph.rs#L496-L498), end up not checking for module conflicts, resulting in the following two examples compiling: ``` rust struct Foo; mod Foo {} ``` ``` rust struct Bar(bool); mod Bar {} ```