]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/generic-associated-types/issue-84931.stderr
Change syntax for TyAlias where clauses
[rust.git] / src / test / ui / generic-associated-types / issue-84931.stderr
index 47decb70ae74c64b77a82d7dec2710f800a97fda..11c3dffde4b38f2e4400396d0fdef337af6ea69d 100644 (file)
@@ -2,9 +2,9 @@ error[E0309]: the parameter type `T` may not live long enough
   --> $DIR/issue-84931.rs:15:21
    |
 LL |     type Item<'a> = &'a mut T;
-   |                  -  ^^^^^^^^^ ...so that the reference type `&'a mut T` does not outlive the data it points at
-   |                  |
-   |                  help: consider adding a where clause: `where T: 'a`
+   |                     ^^^^^^^^^- help: consider adding a where clause: `where T: 'a`
+   |                     |
+   |                     ...so that the reference type `&'a mut T` does not outlive the data it points at
 
 error: aborting due to previous error