mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-13 13:11:59 +00:00
11 lines
154 B
Rust
11 lines
154 B
Rust
//@ run-rustfix
|
|
|
|
#[allow(dead_code)]
|
|
enum Demo {
|
|
A = 1,
|
|
B == 2 //~ ERROR unexpected `==`
|
|
//~^ ERROR expected item, found `==`
|
|
}
|
|
|
|
fn main() {}
|