Sign in
fuchsia
/
third_party
/
rust
/
11a0b968c287c81680387ffcf112328d52d7e815
/
.
/
src
/
test
/
ui
/
borrowck
/
borrowck-move-out-of-overloaded-deref.rs
blob: ecb135f68d5afaa017943b45447ed5b770219d15 [
file
] [
log
] [
blame
]
use
std
::
rc
::
Rc
;
pub
fn
main
()
{
let
_x
=
*
Rc
::
new
(
"hi"
.
to_string
());
//~^ ERROR cannot move out of an `Rc`
}