]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/parser/not-a-pred.rs
New upstream version 1.49.0~beta.4+dfsg1
[rustc.git] / src / test / ui / parser / not-a-pred.rs
index e6a02d5fc5642c8e53f095275de286e3b6a3ac15..1b3d9bf66bb6072643767443a68dd6b82a1df0f8 100644 (file)
@@ -1,6 +1,5 @@
-// error-pattern: lt
-
 fn f(a: isize, b: isize) : lt(a, b) { }
+//~^ ERROR expected one of `->`, `;`, `where`, or `{`, found `:`
 
 fn lt(a: isize, b: isize) { }