]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/issues/issue-46771.rs
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / issues / issue-46771.rs
index 2b5241e5ff64bf8fd0f17ac676cb34bf591cd540..22be8d6af8a7f9b5711cd940a687851dd80a5439 100644 (file)
@@ -1,4 +1,4 @@
 fn main() {
     struct Foo;
-    (1 .. 2).find(|_| Foo(0) == 0); //~ ERROR expected function, found `main::Foo`
+    (1 .. 2).find(|_| Foo(0) == 0); //~ ERROR expected function, found `Foo`
 }