blob: 1b552006a934d8a4b645261dc6d3b90fc9a76c89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
error[E0263]: lifetime name `'a` declared twice in the same scope
--> $DIR/regions-name-duplicated.rs:1:16
|
LL | struct Foo<'a, 'a> { //~ ERROR lifetime name `'a` declared twice
| -- ^^ declared twice
| |
| previous declaration here
error: aborting due to previous error
For more information about this error, try `rustc --explain E0263`.
|