]> git.proxmox.com Git - rustc.git/blame - src/test/ui/generic-associated-types/issue-84931.stderr
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / generic-associated-types / issue-84931.stderr
CommitLineData
94222f64 1error[E0309]: the parameter type `T` may not live long enough
f2b60f7d 2 --> $DIR/issue-84931.rs:14:21
94222f64
XL
3 |
4LL | 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
9error: aborting due to previous error
10
11For more information about this error, try `rustc --explain E0309`.