Sign in
rust
/
rust-lang
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
nll
/
issue-61424.fixed
blob: 5ea9d531e24344749126fc9768925257e4d77dd8 [
file
] [
log
] [
blame
]
//@ run-rustfix
#![deny(unused_mut)]
fn main
()
{
let
x
;
//~ ERROR: variable does not need to be mutable
x
=
String
::
new
();
dbg
!(
x
);
}