mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-23 02:27:39 +03:00
bfa5f27847
Currently, we deal with escape sequences twice: once when we lex a string, and a second time when we unescape literals. This PR aims to remove this duplication, by introducing a new `unescape` mode as a single source of truth for character escaping rules