]> git.lizzy.rs Git - rust.git/blob - src/test/ui/str/str-escape.rs
Rollup merge of #105955 - Nilstrieb:no-trivial-opt-wrappers-we-have-field-accesses...
[rust.git] / src / test / ui / str / str-escape.rs
1 // check-pass
2 fn main() {
3     let s = "\
4
5              ";
6     //~^^^ WARNING multiple lines skipped by escaped newline
7     let s = "foo\
8              bar
9              ";
10     //~^^^ WARNING non-ASCII whitespace symbol '\u{a0}' is not skipped
11 }