]> git.proxmox.com Git - rustc.git/blobdiff - tests/ui/type-alias-impl-trait/imply_bounds_from_bounds_param.stderr
New upstream version 1.69.0+dfsg1
[rustc.git] / tests / ui / type-alias-impl-trait / imply_bounds_from_bounds_param.stderr
index 0ed8a703b6dc54cb8690a316b278e8f043315948..e52d5f9de69ed0e10bc841e30797b57388d00c4b 100644 (file)
@@ -2,7 +2,9 @@ error[E0700]: hidden type for `impl PlusOne` captures lifetime that does not app
   --> $DIR/imply_bounds_from_bounds_param.rs:24:5
    |
 LL | fn test<'a>(y: &'a mut i32) -> impl PlusOne {
-   |         -- hidden type `<&'a mut i32 as Callable>::Output` captures the lifetime `'a` as defined here
+   |         --                     ------------ opaque type defined here
+   |         |
+   |         hidden type `<&'a mut i32 as Callable>::Output` captures the lifetime `'a` as defined here
 LL |     <&'a mut i32 as Callable>::call(y)
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |