]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/issues/issue-11515.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / issues / issue-11515.stderr
index b53563d7b653c458704f8592dd33962a7bc33b4d..7935615ad7e508fc789fb6527b1c22e44ed39af7 100644 (file)
@@ -2,10 +2,10 @@ error[E0308]: mismatched types
   --> $DIR/issue-11515.rs:9:33
    |
 LL |     let test = box Test { func: closure };
-   |                                 ^^^^^^^ expected trait `std::ops::FnMut`, found trait `std::ops::Fn`
+   |                                 ^^^^^^^ expected trait `FnMut`, found trait `Fn`
    |
-   = note: expected struct `std::boxed::Box<(dyn std::ops::FnMut() + 'static)>`
-              found struct `std::boxed::Box<(dyn std::ops::Fn() + 'static)>`
+   = note: expected struct `Box<(dyn FnMut() + 'static)>`
+              found struct `Box<(dyn Fn() + 'static)>`
 
 error: aborting due to previous error