]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/removed-syntax-static-fn.rs
Rollup merge of #67005 - andrewbanchich:master, r=joshtriplett
[rust.git] / src / test / ui / parser / removed-syntax-static-fn.rs
index df3964196b8a215deee653021d36c300aee85de1..0caddb9855d83224a7d0eadb56ff329ede03e5c9 100644 (file)
@@ -1,10 +1,8 @@
-// ignore-tidy-linelength
-
 struct S;
 
 impl S {
     static fn f() {}
+    //~^ ERROR expected one of `async`, `const`, `crate`, `default`, `extern`, `fn`, `pub`, `type`,
 }
-//~^^ ERROR expected one of `async`, `const`, `crate`, `default`, `existential`, `extern`, `fn`, `pub`, `type`,
 
 fn main() {}