rust/tests/ui/unicode.stderr

33 lines
930 B
Plaintext
Raw Normal View History

error: zero-width space detected
2018-10-06 11:18:06 -05:00
--> $DIR/unicode.rs:16:12
|
16 | 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
2018-10-06 11:18:06 -05:00
--> $DIR/unicode.rs:22:12
|
2018-10-06 11:18:06 -05:00
22 | print!("̀àh?");
2017-11-06 17:26:44 -06:00
| ^^^^^
|
= note: `-D clippy::unicode-not-nfc` implied by `-D warnings`
= help: Consider replacing the string with:
""̀àh?""
error: literal non-ASCII character detected
2018-10-06 11:18:06 -05:00
--> $DIR/unicode.rs:28:12
|
2018-10-06 11:18:06 -05:00
28 | print!("Üben!");
| ^^^^^^^
|
= note: `-D clippy::non-ascii-literal` implied by `-D warnings`
= help: Consider replacing the string with:
2017-08-01 10:54:21 -05:00
""/u{dc}ben!""
2018-01-16 10:06:27 -06:00
error: aborting due to 3 previous errors