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

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