summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/suggest-const-for-global-var.rs
blob: d6216cb7ac275d9b385a8fde24b35788e003cb44 (plain)
1
2
3
4
5
6
let X: i32 = 12;
//~^ ERROR expected item, found keyword `let`

fn main() {
    println!("{}", X);
}