Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
src
/
test
/
ui
/
pattern
/
pat-type-err-formal-param.rs
blob: 54336b3492321f5459ae1fd797c44a563dbc2d13 [
file
] [
log
] [
blame
]
// Test the `.span_label(..)` to the type when there's a
// type error in a pattern due to a the formal parameter.
fn
main
()
{}
struct
Tuple
(
u8
);
fn
foo
(
Tuple
(
_
):
String
)
{}
//~ ERROR mismatched types