1 2 3 4 5
// This file was auto-generated using 'src/etc/generate-keyword-tests.py trait' fn main() { let trait = "foo"; //~ error: expected identifier, found keyword `trait` }