1 error: indexing into a string may panic if the index is within a UTF-8 character
2 --> $DIR/string_slice.rs:5:6
7 = note: `-D clippy::string-slice` implied by `-D warnings`
9 error: indexing into a string may panic if the index is within a UTF-8 character
10 --> $DIR/string_slice.rs:7:6
15 error: indexing into a string may panic if the index is within a UTF-8 character
16 --> $DIR/string_slice.rs:9:6
21 error: aborting due to 3 previous errors