]> git.lizzy.rs Git - rust.git/blob - tests/ui/unicode.stderr
Merge pull request #2362 from flip1995/master
[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: `-D zero-width-space` implied by `-D warnings`
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:12:12
13    |
14 12 |     print!("̀àh?");
15    |            ^^^^^
16    |
17    = note: `-D unicode-not-nfc` implied by `-D warnings`
18    = help: Consider replacing the string with:
19            ""̀àh?""
20
21 error: literal non-ASCII character detected
22   --> $DIR/unicode.rs:18:12
23    |
24 18 |     print!("Üben!");
25    |            ^^^^^^^
26    |
27    = note: `-D non-ascii-literal` implied by `-D warnings`
28    = help: Consider replacing the string with:
29            ""/u{dc}ben!""
30
31 error: aborting due to 3 previous errors
32