]> git.lizzy.rs Git - rust.git/blob - tests/ui/unicode.stderr
Look for soft hyphens as well
[rust.git] / tests / ui / unicode.stderr
1 error: invisible character detected: '/u{200b}'
2   --> $DIR/unicode.rs:3:12
3    |
4 LL |     print!("Here >​< is a ZWS, and ​another");
5    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider replacing the string with: `"Here >/u{200B}< is a ZWS, and /u{200B}another"`
6    |
7    = note: `-D clippy::zero-width-space` implied by `-D warnings`
8
9 error: invisible character detected: '/u{ad}'
10   --> $DIR/unicode.rs:5:12
11    |
12 LL |     print!("Here >­< is a SHY, and ­another");
13    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider replacing the string with: `"Here >/u{AD}< is a SHY, and /u{AD}another"`
14
15 error: non-NFC Unicode sequence detected
16   --> $DIR/unicode.rs:11:12
17    |
18 LL |     print!("̀àh?");
19    |            ^^^^^ help: consider replacing the string with: `"̀àh?"`
20    |
21    = note: `-D clippy::unicode-not-nfc` implied by `-D warnings`
22
23 error: literal non-ASCII character detected
24   --> $DIR/unicode.rs:17:12
25    |
26 LL |     print!("Üben!");
27    |            ^^^^^^^ help: consider replacing the string with: `"/u{dc}ben!"`
28    |
29    = note: `-D clippy::non-ascii-literal` implied by `-D warnings`
30
31 error: aborting due to 4 previous errors
32