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