about summary refs log tree commit diff
path: root/tests/ui/parser/issues/issue-101477-enum.rs
blob: 2e9d6b25c14469d403aa35d07d13087641faa113 (plain)
1
2
3
4
5
6
7
8
9
10
//@ run-rustfix

#[allow(dead_code)]
enum Demo {
    A = 1,
    B == 2 //~ ERROR unexpected `==`
    //~^ ERROR expected item, found `==`
}

fn main() {}