blob: 198daa512bdaa81df1274f61c684b235b32ccd40 [file] [log] [blame]
error[E0496]: lifetime name `'a` shadows a lifetime name that is already in scope
--> $DIR/E0496.rs:16:10
|
LL | impl<'a> Foo<'a> {
| -- first declared here
LL | fn f<'a>(x: &'a i32) { //~ ERROR E0496
| ^^ lifetime 'a already in scope
error: aborting due to previous error
For more information about this error, try `rustc --explain E0496`.