error[E0263]: lifetime name `'a` declared twice in the same scope --> $DIR/regions-name-duplicated.rs:1:16 | LL | struct Foo<'a, 'a> { | -- ^^ declared twice | | | previous declaration here error: aborting due to previous error For more information about this error, try `rustc --explain E0263`.