rust/tests/ui/parser/issue-101477-let.rs

7 lines
97 B
Rust
Raw Normal View History

// run-rustfix
fn main() {
let x == 2; //~ ERROR unexpected `==`
println!("x: {}", x)
}