]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/keyword-trait-as-identifier.rs
Rollup merge of #92024 - pcwalton:per-codegen-unit-names, r=davidtwco
[rust.git] / src / test / ui / parser / keyword-trait-as-identifier.rs
1 // This file was auto-generated using 'src/etc/generate-keyword-tests.py trait'
2
3 fn main() {
4     let trait = "foo"; //~ error: expected identifier, found keyword `trait`
5 }