Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
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`
}