2024-08-22 21:07:29 +00:00
|
|
|
error: [Self: o, 'i: *, 'a: *, 'a: o, 'i: o]
|
2023-08-08 19:59:44 +00:00
|
|
|
--> $DIR/variance.rs:9:44
|
|
|
|
|
|
|
|
|
|
|
LL | fn implicit_capture_early<'a: 'a>() -> impl Sized {}
|
|
|
|
|
| ^^^^^^^^^^
|
|
|
|
|
|
2024-08-22 21:07:29 +00:00
|
|
|
error: [Self: o, 'i: *, 'a: *, 'a: o, 'i: o]
|
|
|
|
|
--> $DIR/variance.rs:12:44
|
2023-08-08 19:59:44 +00:00
|
|
|
|
|
|
|
|
|
LL | fn explicit_capture_early<'a: 'a>() -> impl Sized + Captures<'a> {}
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2024-08-22 21:07:29 +00:00
|
|
|
error: [Self: o, 'i: *, 'a: o, 'i: o]
|
2023-08-08 19:59:44 +00:00
|
|
|
--> $DIR/variance.rs:15:48
|
|
|
|
|
|
|
|
|
|
|
LL | fn implicit_capture_late<'a>(_: &'a ()) -> impl Sized {}
|
|
|
|
|
| ^^^^^^^^^^
|
|
|
|
|
|
2024-08-22 21:07:29 +00:00
|
|
|
error: [Self: o, 'i: *, 'a: o, 'i: o]
|
|
|
|
|
--> $DIR/variance.rs:18:48
|
2023-08-08 19:59:44 +00:00
|
|
|
|
|
|
|
|
|
LL | fn explicit_capture_late<'a>(_: &'a ()) -> impl Sized + Captures<'a> {}
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|
|