fork/rust

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

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

1.40.0
355 B11 linesraw
1error[E0496]: lifetime name `'a` shadows a lifetime name that is already in scope
2  --> $DIR/E0496.rs:6:10
3   |
4LL | impl<'a> Foo<'a> {
5   |      -- first declared here
6LL |     fn f<'a>(x: &'a i32) {
7   |          ^^ lifetime 'a already in scope
8
9error: aborting due to previous error
10
11For more information about this error, try `rustc --explain E0496`.