Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
did_you_mean
/
issue-40823.rs
blob: 0f8c74554677866aed1ae3377f346c1017a2f483 [
file
] [
log
] [
blame
]
fn
main
()
{
let
mut
buf
=
&[
1
,
2
,
3
,
4
];
buf
.
iter_mut
();
//~ ERROR cannot borrow `*buf` as mutable, as it is behind a `&` reference
}