1 fn bot<T>() -> T { loop {} }
3 fn mutate(s: &mut str) {
5 //~^ ERROR the size for values of type
6 //~| ERROR the size for values of type
8 //~^ ERROR the type `str` cannot be indexed by `usize`
10 //~^ ERROR the type `str` cannot be indexed by `{integer}`
11 s.get_unchecked_mut(1);
12 //~^ ERROR the type `str` cannot be indexed by `{integer}`
14 //~^ ERROR the type `str` cannot be indexed by `char`