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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
str-array-assignment.stderr Tweak borrow suggestion 2023-05-08 03:36:30 +00:00
str-as-char.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
str-as-char.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
str-idx.stderr Point out the actual mismatch error 2023-10-02 23:14:29 +00:00
str-lit-type-mismatch.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
str-lit-type-mismatch.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
str-mut-idx.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
str-mut-idx.stderr Point out the actual mismatch error 2023-10-02 23:14:29 +00:00
str-overrun.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00