summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issue-101477-enum.fixed
blob: 1dfeae22aea2f53f4d9969238e1a1ce6160ad1d4 (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() {}