Sign in
fuchsia
/
third_party
/
rust
/
a10a02bf5fd00e4b34f1856af17d058dd5ec06f0
/
.
/
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