Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
indexing
/
point-at-index-for-obligation-failure.rs
blob: e9c429b53ced1336c1fda684721ea737978ff3ec [
file
] [
log
] [
blame
] [
edit
]
fn
main
()
{
let
a
=
std
::
collections
::
HashMap
::<
String
,
String
>::
new
();
let
s
=
"hello"
;
let
_b
=
a
[
&
s
//~ ERROR E0277
];
}