The following two type-definition/module conflicts cause errors:
struct Bar { x: bool }
mod Bar {}
But unit and tuple structs, due to the special-casing to check for value conflicts, end up not checking for module conflicts, resulting in the following two examples compiling:
struct Bar(bool);
mod Bar {}