]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-21546.rs
1 // Also works as a test for #14564
3 #[allow(non_snake_case)]
8 //~^ ERROR the name `Foo` is defined multiple times
10 #[allow(non_snake_case)]
15 //~^ ERROR the name `Bar` is defined multiple times
21 #[allow(non_snake_case)]
23 //~^ ERROR the name `Baz` is defined multiple times
27 struct Qux { x: bool }
29 #[allow(non_snake_case)]
31 //~^ ERROR the name `Qux` is defined multiple times
37 #[allow(non_snake_case)]
39 //~^ ERROR the name `Quux` is defined multiple times
45 #[allow(non_snake_case)]
47 //~^ ERROR the name `Corge` is defined multiple times