rust/tests/ui/parser/issues/issue-101477-let.rs
2024-02-16 20:02:50 +00:00

7 lines
98 B
Rust

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