mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
38d4ac7cea
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
33 lines
928 B
Plaintext
33 lines
928 B
Plaintext
error: zero-width space detected
|
||
--> $DIR/unicode.rs:3:12
|
||
|
|
||
LL | 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:9:12
|
||
|
|
||
LL | 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:15:12
|
||
|
|
||
LL | 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
|
||
|