fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: invisible character detected 2 --> $DIR/unicode.rs:5:12 3 | 4LL | 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::invisible-characters` implied by `-D warnings` 8 = help: to override `-D warnings` add `#[allow(clippy::invisible_characters)]` 9 10error: invisible character detected 11 --> $DIR/unicode.rs:7:12 12 | 13LL | print!("Here >< is a SHY, and another"); 14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider replacing the string with: `"Here >\u{AD}< is a SHY, and \u{AD}another"` 15 16error: invisible character detected 17 --> $DIR/unicode.rs:9:12 18 | 19LL | print!("Here >< is a WJ, and another"); 20 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider replacing the string with: `"Here >\u{2060}< is a WJ, and \u{2060}another"` 21 22error: non-NFC Unicode sequence detected 23 --> $DIR/unicode.rs:15:12 24 | 25LL | print!("̀àh?"); 26 | ^^^^^ help: consider replacing the string with: `"̀àh?"` 27 | 28 = note: `-D clippy::unicode-not-nfc` implied by `-D warnings` 29 = help: to override `-D warnings` add `#[allow(clippy::unicode_not_nfc)]` 30 31error: literal non-ASCII character detected 32 --> $DIR/unicode.rs:23:16 33 | 34LL | print!("Üben!"); 35 | ^^^^^^^ help: consider replacing the string with: `"\u{dc}ben!"` 36 | 37note: the lint level is defined here 38 --> $DIR/unicode.rs:20:13 39 | 40LL | #![deny(clippy::non_ascii_literal)] 41 | ^^^^^^^^^^^^^^^^^^^^^^^^^ 42 43error: literal non-ASCII character detected 44 --> $DIR/unicode.rs:29:36 45 | 46LL | const _EMPTY_BLOCK: char = '▱'; 47 | ^^^ help: consider replacing the string with: `'\u{25b1}'` 48 49error: literal non-ASCII character detected 50 --> $DIR/unicode.rs:30:35 51 | 52LL | const _FULL_BLOCK: char = '▰'; 53 | ^^^ help: consider replacing the string with: `'\u{25b0}'` 54 55error: literal non-ASCII character detected 56 --> $DIR/unicode.rs:50:21 57 | 58LL | let _ = "悲しいかな、ここに日本語を書くことはできない。"; 59 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider replacing the string with: `"\u{60b2}\u{3057}\u{3044}\u{304b}\u{306a}\u{3001}\u{3053}\u{3053}\u{306b}\u{65e5}\u{672c}\u{8a9e}\u{3092}\u{66f8}\u{304f}\u{3053}\u{3068}\u{306f}\u{3067}\u{304d}\u{306a}\u{3044}\u{3002}"` 60 | 61note: the lint level is defined here 62 --> $DIR/unicode.rs:39:17 63 | 64LL | #![deny(clippy::non_ascii_literal)] 65 | ^^^^^^^^^^^^^^^^^^^^^^^^^ 66 67error: aborting due to 8 previous errors 68