rust/tests/ui/str
Nicholas Nethercote 314dbc7f22 Avoid useless checking in from_token_lit.
The parser already does a check-only unescaping which catches all
errors. So the checking done in `from_token_lit` never hits.

But literals causing warnings can still occur in `from_token_lit`. So
the commit changes `str-escape.rs` to use byte string literals and C
string literals as well, to give better coverage and ensure the new
assertions in `from_token_lit` are correct.
2024-01-25 12:22:17 +11:00
..
str-array-assignment.rs
str-array-assignment.stderr Tweak borrow suggestion 2023-05-08 03:36:30 +00:00
str-as-char.fixed
str-as-char.rs
str-as-char.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
str-concat-on-double-ref.rs
str-concat-on-double-ref.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
str-escape.rs Avoid useless checking in from_token_lit. 2024-01-25 12:22:17 +11:00
str-escape.stderr Avoid useless checking in from_token_lit. 2024-01-25 12:22:17 +11:00
str-idx.rs
str-idx.stderr Point out the actual mismatch error 2023-10-02 23:14:29 +00:00
str-lit-type-mismatch.rs
str-lit-type-mismatch.stderr
str-mut-idx.rs
str-mut-idx.stderr Point out the actual mismatch error 2023-10-02 23:14:29 +00:00
str-overrun.rs