summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/keyword-let-as-identifier.rs
blob: 9b1183501b28d62425dbbc5ad045dd34fefd88f2 (plain)
1
2
3
4
5
// This file was auto-generated using 'src/etc/generate-keyword-tests.py let'

fn main() {
    let let = "foo"; //~ error: expected identifier, found keyword `let`
}