Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
src
/
test
/
ui
/
mut
/
mut-cross-borrowing.rs
blob: 63e49c292eac705ee1267b86813aeebd11350c27 [
file
] [
log
] [
blame
]
#![
feature
(
box_syntax
)]
fn
f
(
_
:
&
mut
isize
)
{}
fn
main
()
{
let
mut
x
:
Box
<
_
>
=
box
3
;
f
(
x
)
//~ ERROR mismatched types
}