summaryrefslogtreecommitdiffstats
path: root/tests/ui/regions/regions-name-duplicated.stderr
blob: cef73c18d371e458001501012bd26f34fcab1360 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0403]: the name `'a` is already used for a generic parameter in this item's generic parameters
  --> $DIR/regions-name-duplicated.rs:1:16
   |
LL | struct Foo<'a, 'a> {
   |            --  ^^ already used
   |            |
   |            first use of `'a`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0403`.