Module rustc_lexer::unescape

source ·
Expand description

Utilities for validating string and char literals and turning them into values they represent.


  • A unit within CStr. Must not be a nul character.
  • Errors and warnings that can occur during string unescaping. They mostly relate to malformed escape sequences, but there are a few that are about other problems.
  • What kind of literal do we parse.