]> git.proxmox.com Git - rustc.git/blob - src/test/ui/object-lifetime/object-lifetime-default-from-rptr-struct-error.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / object-lifetime / object-lifetime-default-from-rptr-struct-error.stderr
1 error: lifetime may not live long enough
2 --> $DIR/object-lifetime-default-from-rptr-struct-error.rs:20:5
3 |
4 LL | fn c<'a>(t: &'a MyBox<dyn Test+'a>, mut ss: SomeStruct<'a>) {
5 | -- lifetime `'a` defined here
6 LL | ss.t = t;
7 | ^^^^^^^^ assignment requires that `'a` must outlive `'static`
8
9 error: aborting due to previous error
10