]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/unboxed-closures/unboxed-closures-static-call-wrong-trait.stderr
New upstream version 1.39.0+dfsg1
[rustc.git] / src / test / ui / unboxed-closures / unboxed-closures-static-call-wrong-trait.stderr
index 2e1845888a2f76d893cb8c66dc052f0980a170d9..18276d5710cf8950f2230dd756ded993b156f366 100644 (file)
@@ -2,7 +2,7 @@ error[E0599]: no method named `call` found for type `[closure@$DIR/unboxed-closu
   --> $DIR/unboxed-closures-static-call-wrong-trait.rs:7:10
    |
 LL |     mut_.call((0, ));
-   |          ^^^^
+   |          ^^^^ method not found in `[closure@$DIR/unboxed-closures-static-call-wrong-trait.rs:6:26: 6:31]`
    |
    = note: mut_ is a function, perhaps you wish to call it