about summary refs log tree commit diff
path: root/tests/ui/parser/issues/issue-101477-enum.fixed
blob: 7fd08b65929d481dc54123a70071f4926596ab6e (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() {}