]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/keyword-static-as-identifier.rs
Rollup merge of #58122 - matthieu-m:range_incl_perf, r=dtolnay
[rust.git] / src / test / ui / parser / keyword-static-as-identifier.rs
1 // This file was auto-generated using 'src/etc/generate-keyword-tests.py static'
2
3 fn main() {
4     let static = "foo"; //~ error: expected pattern, found keyword `static`
5 }