]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/keyword-static-as-identifier.rs
Rollup merge of #67005 - andrewbanchich:master, r=joshtriplett
[rust.git] / src / test / ui / parser / keyword-static-as-identifier.rs
index 3ccbfccfc93947c8703897d4db33990c9c80e701..423b9854b8aa1346d41b01ff2cee50b59f004088 100644 (file)
@@ -1,5 +1,5 @@
 // This file was auto-generated using 'src/etc/generate-keyword-tests.py static'
 
 fn main() {
-    let static = "foo"; //~ error: expected pattern, found keyword `static`
+    let static = "foo"; //~ error: expected identifier, found keyword `static`
 }