fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
936 B38 linesraw
1error[E0637]: `'_` cannot be used here
2  --> $DIR/in-binder.rs:9:6
3   |
4LL | impl<'_> IceCube<'_> {}
5   |      ^^ `'_` is a reserved lifetime name
6
7error[E0637]: `'_` cannot be used here
8  --> $DIR/in-binder.rs:12:15
9   |
10LL | struct Struct<'_> {
11   |               ^^ `'_` is a reserved lifetime name
12
13error[E0637]: `'_` cannot be used here
14  --> $DIR/in-binder.rs:17:11
15   |
16LL | enum Enum<'_> {
17   |           ^^ `'_` is a reserved lifetime name
18
19error[E0637]: `'_` cannot be used here
20  --> $DIR/in-binder.rs:22:13
21   |
22LL | union Union<'_> {
23   |             ^^ `'_` is a reserved lifetime name
24
25error[E0637]: `'_` cannot be used here
26  --> $DIR/in-binder.rs:27:13
27   |
28LL | trait Trait<'_> {
29   |             ^^ `'_` is a reserved lifetime name
30
31error[E0637]: `'_` cannot be used here
32  --> $DIR/in-binder.rs:31:8
33   |
34LL | fn foo<'_>() {
35   |        ^^ `'_` is a reserved lifetime name
36
37error: aborting due to 6 previous errors
38