1 // When mutably indexing a type that implements `Index` and `IndexMut` but
2 // `Index::index` is being used specifically, the normal special help message
3 // should not mention a missing `IndexMut` impl.
8 let v = String::from("dinosaur");
9 Index::index(&v, 1..2).make_ascii_uppercase(); //~ ERROR