]>
Commit | Line | Data |
---|---|---|
dfeec247 XL |
1 | error[E0308]: mismatched types |
2 | --> $DIR/pat-type-err-formal-param.rs:8:8 | |
3 | | | |
4 | LL | fn foo(Tuple(_): String) {} | |
5 | | ^^^^^^^^ ------ expected due to this | |
6 | | | | |
1b1a35ee | 7 | | expected struct `String`, found struct `Tuple` |
dfeec247 XL |
8 | |
9 | error: aborting due to previous error | |
10 | ||
11 | For more information about this error, try `rustc --explain E0308`. |