2 #[warn(clippy::invisible_characters)]
4 print!("Here >\u{200B}< is a ZWS, and \u{200B}another");
5 print!("This\u{200B}is\u{200B}fine");
6 print!("Here >\u{AD}< is a SHY, and \u{AD}another");
7 print!("This\u{ad}is\u{ad}fine");
8 print!("Here >\u{2060}< is a WJ, and \u{2060}another");
9 print!("This\u{2060}is\u{2060}fine");
12 #[warn(clippy::unicode_not_nfc)]
15 print!("a\u{0300}h?"); // also ok
18 #[warn(clippy::non_ascii_literal)]
21 print!("\u{DC}ben!"); // this is ok
25 #[warn(clippy::non_ascii_literal)]
27 const _EMPTY_BLOCK: char = '\u{25b1}';
28 const _FULL_BLOCK: char = '\u{25b0}';