]> git.lizzy.rs Git - rust.git/blob - tests/ui/regions/regions-name-duplicated.stderr
internally change regions to be covariant
[rust.git] / tests / ui / regions / regions-name-duplicated.stderr
1 error[E0403]: the name `'a` is already used for a generic parameter in this item's generic parameters
2   --> $DIR/regions-name-duplicated.rs:1:16
3    |
4 LL | struct Foo<'a, 'a> {
5    |            --  ^^ already used
6    |            |
7    |            first use of `'a`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0403`.