]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/keyword-static-as-identifier.rs
Point (again) to more expressions with their type, even if not fully resolved
[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 identifier, found keyword `static`
5 }