\u{00ad} character is sometimes parsed twice #77417
Labels
A-parser
Area: The parsing of Rust source code to an AST
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
See here: https://godbolt.org/z/sdv7a3
The println! outputs "f\u{ad}\u{ad}cali" - this isn't a println! issue, but the string literal also contains 2
\u{ad}
characters.Same example, but a little more visible: the following assert is supposed to pass:
Issue exists since 1.0
The text was updated successfully, but these errors were encountered: