]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/issue-101477-enum.fixed
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / tests / ui / parser / issue-101477-enum.fixed
1 // run-rustfix
2
3 #[allow(dead_code)]
4 enum Demo {
5     A = 1,
6     B = 2 //~ ERROR unexpected `==`
7     //~^ expected item, found `==`
8 }
9
10 fn main() {}