rust/tests/ui/issues/issue-23253.rs
2023-01-11 09:32:08 +00:00

6 lines
84 B
Rust

enum Foo { Bar }
fn main() {
Foo::Bar.a;
//~^ no field `a` on type `Foo`
}