rust/src/test/ui/issues/issue-23253.rs
2018-12-25 21:08:33 -07:00

7 lines
84 B
Rust

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