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