fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
827 B26 linesraw
1error: [o, *, *, o, o]
2  --> $DIR/variance.rs:9:44
3   |
4LL |     fn implicit_capture_early<'a: 'a>() -> impl Sized {}
5   |                                            ^^^^^^^^^^
6
7error: [o, *, *, o, o]
8  --> $DIR/variance.rs:13:44
9   |
10LL |     fn explicit_capture_early<'a: 'a>() -> impl Sized + Captures<'a> {}
11   |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^
12
13error: [o, *, o, o]
14  --> $DIR/variance.rs:15:48
15   |
16LL |     fn implicit_capture_late<'a>(_: &'a ()) -> impl Sized {}
17   |                                                ^^^^^^^^^^
18
19error: [o, *, o, o]
20  --> $DIR/variance.rs:17:48
21   |
22LL |     fn explicit_capture_late<'a>(_: &'a ()) -> impl Sized + Captures<'a> {}
23   |                                                ^^^^^^^^^^^^^^^^^^^^^^^^^
24
25error: aborting due to 4 previous errors
26