Sign in
rust
/
rust-lang
/
rust
/
refs/heads/stable
/
.
/
tests
/
ui
/
coercion
/
coerce-block-tail-83850.rs
blob: 2d2d440c4e837474d916179ee9854b5a5947a519 [
file
] [
log
] [
blame
]
//@ check-fail
fn
f
(
_
:
&[
i32
])
{}
fn
main
()
{
f
(&
Box
::
new
([
1
,
2
]));
//~^ ERROR mismatched types
}