]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/issues/issue-37884.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / issues / issue-37884.stderr
index 8e75d7be066a3f2c2ccac3c2194a4d823f9e8549..703cdf0854808c5359fd476da3ad339a2d166e21 100644 (file)
@@ -9,8 +9,8 @@ LL | |         Some(&mut self.0)
 LL | |     }
    | |_____^ lifetime mismatch
    |
-   = note: expected type `fn(&mut RepeatMut<'a, T>) -> std::option::Option<&mut T>`
-              found type `fn(&'a mut RepeatMut<'a, T>) -> std::option::Option<&mut T>`
+   = note: expected fn pointer `fn(&mut RepeatMut<'a, T>) -> std::option::Option<_>`
+              found fn pointer `fn(&'a mut RepeatMut<'a, T>) -> std::option::Option<_>`
 note: the anonymous lifetime #1 defined on the method body at 6:5...
   --> $DIR/issue-37884.rs:6:5
    |