Sign in
fuchsia
/
third_party
/
rust
/
f02ffb8b4ca760117875f3b5326e9cff6598dde3
/
.
/
src
/
test
/
ui
/
issues
/
issue-41726.rs
blob: 39631912c00e721827420060ce665a2ad62cfbcd [
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 data in an index of
}
}