summaryrefslogtreecommitdiffstats
path: root/tests/ui/structs-enums/issue-3008-2.rs
blob: 5846c69da413541ebef363ecb263e7f24f6de79b (plain)
1
2
3
4
5
6
enum Foo { Foo_(Bar) }
struct Bar { x: Bar }
//~^ ERROR E0072

fn main() {
}