Cleanup feature gates.
This commit is contained in:
parent
3c7947ee43
commit
27d8cd7db0
111 changed files with 236 additions and 272 deletions
|
@ -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>) {
|
||||
| ^^
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue