mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
27 lines
827 B
Plaintext
27 lines
827 B
Plaintext
error: [o, *, *, o, o]
|
|
--> $DIR/variance.rs:9:44
|
|
|
|
|
LL | fn implicit_capture_early<'a: 'a>() -> impl Sized {}
|
|
| ^^^^^^^^^^
|
|
|
|
error: [o, *, *, o, o]
|
|
--> $DIR/variance.rs:13:44
|
|
|
|
|
LL | fn explicit_capture_early<'a: 'a>() -> impl Sized + Captures<'a> {}
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: [o, *, o, o]
|
|
--> $DIR/variance.rs:15:48
|
|
|
|
|
LL | fn implicit_capture_late<'a>(_: &'a ()) -> impl Sized {}
|
|
| ^^^^^^^^^^
|
|
|
|
error: [o, *, o, o]
|
|
--> $DIR/variance.rs:17:48
|
|
|
|
|
LL | fn explicit_capture_late<'a>(_: &'a ()) -> impl Sized + Captures<'a> {}
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 4 previous errors
|
|
|