Automatic generation of error annotations for ui tests
This commit is contained in:
parent
3a31c05578
commit
a05d3a4137
729 changed files with 6917 additions and 2954 deletions
|
|
@ -7,13 +7,13 @@ LL | &"Ölkanne"[1..];
|
|||
= note: `-D clippy::string-slice` implied by `-D warnings`
|
||||
|
||||
error: indexing into a string may panic if the index is within a UTF-8 character
|
||||
--> $DIR/string_slice.rs:7:6
|
||||
--> $DIR/string_slice.rs:9:6
|
||||
|
|
||||
LL | &m[2..5];
|
||||
| ^^^^^^^
|
||||
|
||||
error: indexing into a string may panic if the index is within a UTF-8 character
|
||||
--> $DIR/string_slice.rs:9:6
|
||||
--> $DIR/string_slice.rs:12:6
|
||||
|
|
||||
LL | &s[0..2];
|
||||
| ^^^^^^^
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue