mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 01:05:39 +03:00
7 lines
90 B
Rust
7 lines
90 B
Rust
enum Foo { Bar }
|
|
|
|
fn main() {
|
|
Foo::Bar.a;
|
|
//~^ ERROR no field `a` on type `Foo`
|
|
}
|