Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
src
/
test
/
ui
/
issues
/
issue-29053.rs
blob: 34c4a0f8f3e48b40f5e1d63e0668a680fab4330d [
file
] [
log
] [
blame
]
// run-pass
fn
main
()
{
let
x
:
&
'
static
str
=
"x"
;
{
let
y
=
"y"
.
to_string
();
let
ref
mut
x
=
&*
x
;
*
x
=
&*
y
;
}
assert_eq
!(
x
,
"x"
);
}