2021-08-11 12:13:24 +02:00
|
|
|
|
warning: multiple lines skipped by escaped newline
|
2024-01-22 16:58:39 +11:00
|
|
|
|
--> $DIR/str-escape.rs:6:14
|
2021-08-11 12:13:24 +02:00
|
|
|
|
|
|
|
|
|
|
LL | let s = "\
|
|
|
|
|
| ______________^
|
|
|
|
|
LL | |
|
|
|
|
|
LL | | ";
|
|
|
|
|
| |_____________^ skipping everything up to and including this point
|
|
|
|
|
|
2023-03-09 22:42:06 +08:00
|
|
|
|
warning: whitespace symbol '\u{a0}' is not skipped
|
2024-01-22 16:58:39 +11:00
|
|
|
|
--> $DIR/str-escape.rs:12:18
|
2021-08-11 12:13:24 +02:00
|
|
|
|
|
|
2024-01-22 16:58:39 +11:00
|
|
|
|
LL | let s = c"foo\
|
|
|
|
|
| __________________^
|
2021-08-11 12:13:24 +02:00
|
|
|
|
LL | | bar
|
2023-03-09 22:42:06 +08:00
|
|
|
|
| | ^ whitespace symbol '\u{a0}' is not skipped
|
2021-08-11 12:13:24 +02:00
|
|
|
|
| |___|
|
2024-04-25 13:17:29 +03:00
|
|
|
|
|
|
2021-08-11 12:13:24 +02:00
|
|
|
|
|
2023-03-09 22:42:06 +08:00
|
|
|
|
warning: whitespace symbol '\u{c}' is not skipped
|
2024-01-22 16:58:39 +11:00
|
|
|
|
--> $DIR/str-escape.rs:26:16
|
2023-03-09 22:42:06 +08:00
|
|
|
|
|
|
2024-01-22 16:58:39 +11:00
|
|
|
|
LL | let s = b"a\
|
|
|
|
|
| ________________^
|
2024-07-09 16:46:09 +00:00
|
|
|
|
LL | | ␌b";
|
2024-07-09 17:00:19 +00:00
|
|
|
|
| | ^ whitespace symbol '\u{c}' is not skipped
|
|
|
|
|
| |_____|
|
2024-04-25 13:17:29 +03:00
|
|
|
|
|
|
2023-03-09 22:42:06 +08:00
|
|
|
|
|
|
|
|
|
warning: 3 warnings emitted
|
2021-08-11 12:13:24 +02:00
|
|
|
|
|