]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-23253.rs
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / tests / ui / issues / issue-23253.rs
1 enum Foo { Bar }
2
3 fn main() {
4     Foo::Bar.a;
5     //~^ no field `a` on type `Foo`
6 }