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

error: aborting due to previous error

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