]>
Commit | Line | Data |
---|---|---|
94222f64 | 1 | error[E0309]: the parameter type `T` may not live long enough |
f2b60f7d | 2 | --> $DIR/issue-84931.rs:14:21 |
94222f64 XL |
3 | | |
4 | LL | type Item<'a> = &'a mut T; | |
5e7ed085 FG |
5 | | ^^^^^^^^^- help: consider adding a where clause: `where T: 'a` |
6 | | | | |
7 | | ...so that the reference type `&'a mut T` does not outlive the data it points at | |
94222f64 XL |
8 | |
9 | error: aborting due to previous error | |
10 | ||
11 | For more information about this error, try `rustc --explain E0309`. |