5 mod Foo {} //~ ERROR the name `Foo` is defined multiple times
10 struct Foo; //~ ERROR the name `Foo` is defined multiple times
15 enum Foo {} //~ ERROR the name `Foo` is defined multiple times
25 mod Bar {} //~ ERROR the name `Bar` is defined multiple times