enum A { B, C } enum A { D, E } //~ ERROR the name `A` is defined multiple times fn main() {}