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