Closed dtolnay closed 2 years ago
This is especially important because the current proc macro implementation likes making these too much — https://github.com/rust-lang/rust/pull/95343. In a proc macro Literal::character('0') will produce '\u{30}' rather than the expected '0'.
Literal::character('0')
'\u{30}'
'0'
This is especially important because the current proc macro implementation likes making these too much — https://github.com/rust-lang/rust/pull/95343. In a proc macro
Literal::character('0')
will produce'\u{30}'
rather than the expected'0'
.