summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issue-101477-enum.rs
blob: ea7051d69a4c7f0230e18070bf7659d0880e90e3 (plain)
1
2
3
4
5
6
7
8
9
10
// run-rustfix

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

fn main() {}