Sign in
fuchsia
/
third_party
/
rust
/
51cc3cdcf060c1bf3e4d45947f7a6bc20f9960f7
/
.
/
src
/
test
/
ui
/
issues
/
issue-41726.rs
blob: 41dcaa8e280b878e8afe88641cd25471ae6fba81 [
file
] [
log
] [
blame
]
use
std
::
collections
::
HashMap
;
fn
main
()
{
let
things
:
HashMap
<
String
,
Vec
<
String
>>
=
HashMap
::
new
();
for
src in things
.
keys
()
{
things
[
src
.
as_str
()].
sort
();
//~ ERROR cannot borrow immutable
}
}