]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0496.stderr
Auto merge of #47956 - retep998:is-nibbles, r=BurntSushi
[rust.git] / src / test / ui / error-codes / E0496.stderr
1 error[E0496]: lifetime name `'a` shadows a lifetime name that is already in scope
2   --> $DIR/E0496.rs:16:10
3    |
4 15 | impl<'a> Foo<'a> {
5    |      -- first declared here
6 16 |     fn f<'a>(x: &'a i32) { //~ ERROR E0496
7    |          ^^ lifetime 'a already in scope
8
9 error: aborting due to previous error
10