summaryrefslogtreecommitdiffstats
path: root/src/test/ui/generic-associated-types/issue-84931.stderr
blob: 11c3dffde4b38f2e4400396d0fdef337af6ea69d (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0309]: the parameter type `T` may not live long enough
  --> $DIR/issue-84931.rs:15:21
   |
LL |     type Item<'a> = &'a mut T;
   |                     ^^^^^^^^^- 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

For more information about this error, try `rustc --explain E0309`.