Bless nll tests.

This commit is contained in:
Camille GILLOT 2022-03-03 19:59:52 +01:00
parent 42ffdd973e
commit c680d39b1e
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
error: lifetime may not live long enough
--> $DIR/issue-75777.rs:13:5
--> $DIR/issue-75777.rs:11:5
|
LL | fn inject<'a, Env: 'a, A: 'a + Send>(v: A) -> Box<dyn FnOnce(&'a Env) -> BoxFuture<'a, A>> {
| -- lifetime `'a` defined here

View File

@ -1,5 +1,5 @@
error: lifetime may not live long enough
--> $DIR/object-lifetime-default-from-rptr-struct-error.rs:21:5
--> $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