rust/tests/ui/resolve/issue-3099-a.rs
2023-05-08 17:58:01 -03:00

6 lines
96 B
Rust

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