]>
Commit | Line | Data |
---|---|---|
2c00a5a8 XL |
1 | error[E0403]: the name `T` is already used for a type parameter in this type parameter list |
2 | --> $DIR/E0403.rs:11:11 | |
3 | | | |
0531ce1d | 4 | LL | fn foo<T, T>(s: T, u: T) {} //~ ERROR E0403 |
2c00a5a8 XL |
5 | | - ^ already used |
6 | | | | |
7 | | first use of `T` | |
8 | ||
9 | error: aborting due to previous error | |
10 | ||
0531ce1d | 11 | For more information about this error, try `rustc --explain E0403`. |