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

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