Fully stabilize NLL
This commit is contained in:
parent
7e9b92cb43
commit
410dcc9674
985 changed files with 1824 additions and 12137 deletions
|
@ -0,0 +1,10 @@
|
|||
error: lifetime may not live long enough
|
||||
--> $DIR/object-lifetime-default-from-rptr-struct-error.rs:20:5
|
||||
|
|
||||
LL | fn c<'a>(t: &'a MyBox<dyn Test+'a>, mut ss: SomeStruct<'a>) {
|
||||
| -- lifetime `'a` defined here
|
||||
LL | ss.t = t;
|
||||
| ^^^^^^^^ assignment requires that `'a` must outlive `'static`
|
||||
|
||||
error: aborting due to previous error
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue