fork/rust

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

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

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