rust/tests/ui/parser/suggest-const-for-global-var.rs
2023-01-11 09:32:08 +00:00

7 lines
101 B
Rust

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