rust-clippy/tests/ui/unicode.stderr

33 lines
901 B
Text
Raw Normal View History

error: zero-width space detected
2017-08-01 15:54:21 +00:00
--> $DIR/unicode.rs:6:12
|
6 | print!("Here >< is a ZWS, and another");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D zero-width-space` implied by `-D warnings`
= help: Consider replacing the string with:
2017-08-01 15:54:21 +00:00
""Here >/u{200B}< is a ZWS, and /u{200B}another""
error: non-nfc unicode sequence detected
2017-08-01 15:54:21 +00:00
--> $DIR/unicode.rs:12:12
|
12 | print!("̀àh?");
| ^^^^^^^
|
= note: `-D unicode-not-nfc` implied by `-D warnings`
= help: Consider replacing the string with:
""̀àh?""
error: literal non-ASCII character detected
2017-08-01 15:54:21 +00:00
--> $DIR/unicode.rs:18:12
|
18 | print!("Üben!");
| ^^^^^^^
|
= note: `-D non-ascii-literal` implied by `-D warnings`
= help: Consider replacing the string with:
2017-08-01 15:54:21 +00:00
""/u{dc}ben!""
2017-07-03 04:37:30 +00:00
error: aborting due to 3 previous errors