Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
never_type
/
call-fn-never-arg-wrong-type.rs
blob: a2b44e91f11418de6dcdc4c9fc178969cc0c57a8 [
file
] [
log
] [
blame
]
// Test that we can't pass other types for !
fn
foo
(
x
:
!)
->
!
{
x
}
fn
main
()
{
foo
(
"wow"
);
//~ ERROR mismatched types
}