Sign in
fuchsia
/
third_party
/
rust
/
f233a4c18bec906dab0b8531f326a15fadece547
/
.
/
src
/
test
/
ui
/
use
/
use-after-move-based-on-type.rs
blob: ba7aa0345e19c81b28d23d116cf670ed9f14c651 [
file
] [
log
] [
blame
]
fn
main
()
{
let
x
=
"Hello!"
.
to_string
();
let
_y
=
x
;
println
!(
"{}"
,
x
);
//~ ERROR borrow of moved value
}