mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-18 17:15:05 +00:00
32 lines
930 B
Text
32 lines
930 B
Text
error: zero-width space detected
|
||
--> $DIR/unicode.rs:12:12
|
||
|
|
||
12 | print!("Here >< is a ZWS, and another");
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
|
|
||
= note: `-D clippy::zero-width-space` implied by `-D warnings`
|
||
= help: Consider replacing the string with:
|
||
""Here >/u{200B}< is a ZWS, and /u{200B}another""
|
||
|
||
error: non-nfc unicode sequence detected
|
||
--> $DIR/unicode.rs:18:12
|
||
|
|
||
18 | print!("̀àh?");
|
||
| ^^^^^
|
||
|
|
||
= note: `-D clippy::unicode-not-nfc` implied by `-D warnings`
|
||
= help: Consider replacing the string with:
|
||
""̀àh?""
|
||
|
||
error: literal non-ASCII character detected
|
||
--> $DIR/unicode.rs:24:12
|
||
|
|
||
24 | print!("Üben!");
|
||
| ^^^^^^^
|
||
|
|
||
= note: `-D clippy::non-ascii-literal` implied by `-D warnings`
|
||
= help: Consider replacing the string with:
|
||
""/u{dc}ben!""
|
||
|
||
error: aborting due to 3 previous errors
|
||
|