blob: fffea98a449e2ba542b3d03fbbfacecea13aec46 (
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:14: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`.
|