2021-08-11 10:13:24 +00:00
|
|
|
|
warning: multiple lines skipped by escaped newline
|
2023-03-09 14:42:06 +00:00
|
|
|
|
--> $DIR/str-escape.rs:5: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
|
|
|
|
|
--> $DIR/str-escape.rs:11:17
|
2021-08-11 10:13:24 +00:00
|
|
|
|
|
|
|
|
|
|
LL | let s = "foo\
|
|
|
|
|
| _________________^
|
|
|
|
|
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
|
|
|
|
| |___|
|
|
|
|
|
|
|
|
|
|
|
|
2023-03-09 14:42:06 +00:00
|
|
|
|
warning: whitespace symbol '\u{c}' is not skipped
|
|
|
|
|
--> $DIR/str-escape.rs:25:15
|
|
|
|
|
|
|
|
|
|
|
LL | let s = "a\
|
|
|
|
|
| _______________^
|
|
|
|
|
LL | | b";
|
|
|
|
|
| | ^- whitespace symbol '\u{c}' is not skipped
|
|
|
|
|
| |____|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
warning: 3 warnings emitted
|
2021-08-11 10:13:24 +00:00
|
|
|
|
|