]> git.lizzy.rs Git - rust.git/blob - tests/ui/unicode.stderr
remove all //~ from tests
[rust.git] / tests / ui / unicode.stderr
1 error: zero-width space detected
2  --> $DIR/unicode.rs:6:12
3   |
4 6 |     print!("Here >​< is a ZWS, and ​another");
5   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6   |
7   = note: #[deny(zero_width_space)] on by default
8   = help: Consider replacing the string with:
9           ""Here >/u{200B}< is a ZWS, and /u{200B}another""
10
11 error: non-nfc unicode sequence detected
12   --> $DIR/unicode.rs:13:12
13    |
14 13 |     print!("̀àh?");
15    |            ^^^^^^^
16    |
17 note: lint level defined here
18   --> $DIR/unicode.rs:11:8
19    |
20 11 | #[deny(unicode_not_nfc)]
21    |        ^^^^^^^^^^^^^^^
22    = help: Consider replacing the string with:
23            ""̀àh?""
24
25 error: literal non-ASCII character detected
26   --> $DIR/unicode.rs:19:12
27    |
28 19 |     print!("Üben!");
29    |            ^^^^^^^
30    |
31 note: lint level defined here
32   --> $DIR/unicode.rs:17:8
33    |
34 17 | #[deny(non_ascii_literal)]
35    |        ^^^^^^^^^^^^^^^^^
36    = help: Consider replacing the string with:
37            ""/u{dc}ben!""
38
39 error: aborting due to 3 previous errors
40