fn main() { let a = std::collections::HashMap::::new(); let s = "hello"; let _b = a[ &s //~ ERROR E0277 ]; }