Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
coercion
/
coerce-block-tail.rs
blob: c0766df0541b1705b5b08941f623e29a6d82e477 [
file
] [
log
] [
blame
] [
edit
]
//@ check-fail
fn
main
()
{
let
_
:
&
str
=
&
{
String
::
from
(
"hahah"
)};
let
_
:
&
i32
=
&
{
Box
::
new
(
1i32
)
};
//~^ ERROR mismatched types
}