rust/tests/ui/structs-enums/issue-3008-2.rs
2023-05-29 12:07:41 -03:00

7 lines
77 B
Rust

enum Foo { Foo_(Bar) }
struct Bar { x: Bar }
//~^ ERROR E0072
fn main() {
}