We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79b5b38 commit 8e8b6cdCopy full SHA for 8e8b6cd
tests/ui/proc-macro/auxiliary/api/parse.rs
@@ -31,6 +31,7 @@ fn test_display_literal() {
31
assert_eq!(Literal::character('\u{1}').to_string(), "'\\u{1}'");
32
33
assert_eq!(Literal::byte_character(b'a').to_string(), "b'a'");
34
+ assert_eq!(Literal::byte_character(0).to_string(), "b'\\x00'");
35
}
36
37
fn test_parse_literal() {
0 commit comments