We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
\n
\t
unescape_str_common
1 parent 1480496 commit 4943142Copy full SHA for 4943142
compiler/rustc_lexer/src/unescape.rs
@@ -350,8 +350,6 @@ where
350
_ => scan_escape::<T>(&mut chars, mode),
351
}
352
353
- '\n' => Ok(b'\n'.into()),
354
- '\t' => Ok(b'\t'.into()),
355
'"' => Err(EscapeError::EscapeOnlyChar),
356
'\r' => Err(EscapeError::BareCarriageReturn),
357
_ => ascii_check(c, mode.characters_should_be_ascii()).map(Into::into),
0 commit comments