rust/tests/ui/parser/suggest-const-for-global-va...

7 lines
101 B
Rust

let X: i32 = 12;
//~^ ERROR expected item, found keyword `let`
fn main() {
println!("{}", X);
}