]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/typeck/issue-74086.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / ui / typeck / issue-74086.rs
index 44ca256b05163c0749e256c145448393a777b4dd..9b7c0d7cc6e2e4671c31ea8234674dda1b7afbc4 100644 (file)
@@ -1,4 +1,5 @@
 fn main() {
     static BUG: fn(_) -> u8 = |_| 8;
     //~^ ERROR the placeholder `_` is not allowed within types on item signatures for functions [E0121]
+    //~| ERROR the placeholder `_` is not allowed within types on item signatures for static items
 }