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