1
Fork 0

Cleanup feature gates.

This commit is contained in:
Camille GILLOT 2022-01-19 16:24:49 +01:00
parent 3c7947ee43
commit 27d8cd7db0
111 changed files with 236 additions and 272 deletions

View file

@ -1,5 +1,5 @@
error[E0308]: mismatched types
--> $DIR/object-lifetime-default-from-rptr-struct-error.rs:21:12
--> $DIR/object-lifetime-default-from-rptr-struct-error.rs:20:12
|
LL | ss.t = t;
| ^ lifetime mismatch
@ -7,7 +7,7 @@ LL | ss.t = t;
= note: expected reference `&'a MyBox<(dyn Test + 'static)>`
found reference `&'a MyBox<(dyn Test + 'a)>`
note: the lifetime `'a` as defined here...
--> $DIR/object-lifetime-default-from-rptr-struct-error.rs:20:6
--> $DIR/object-lifetime-default-from-rptr-struct-error.rs:19:6
|
LL | fn c<'a>(t: &'a MyBox<dyn Test+'a>, mut ss: SomeStruct<'a>) {
| ^^