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