fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
505 B20 linesraw
1error[E0637]: `'_` cannot be used here
2  --> $DIR/E0637.rs:1:16
3   |
4LL | struct Foo<'a: '_>(&'a u8);
5   |                ^^ `'_` is a reserved lifetime name
6
7error[E0637]: `'_` cannot be used here
8  --> $DIR/E0637.rs:2:12
9   |
10LL | fn foo<'a: '_>(_: &'a u8) {}
11   |            ^^ `'_` is a reserved lifetime name
12
13error[E0637]: `'_` cannot be used here
14  --> $DIR/E0637.rs:5:10
15   |
16LL | impl<'a: '_> Bar<'a> {
17   |          ^^ `'_` is a reserved lifetime name
18
19error: aborting due to 3 previous errors
20