rust/compiler/rustc_parse/src/lexer
Nicholas Nethercote 25ed6e43b0 Add ErrorGuaranteed to ast::LitKind::Err, token::LitKind::Err.
This mostly works well, and eliminates a couple of delayed bugs.

One annoying thing is that we should really also add an
`ErrorGuaranteed` to `proc_macro::bridge::LitKind::Err`. But that's
difficult because `proc_macro` doesn't have access to `ErrorGuaranteed`,
so we have to fake it.
2024-02-15 14:46:08 +11:00
..
diagnostics.rs Format all the let chains in compiler 2023-10-13 08:59:36 +00:00
mod.rs Add ErrorGuaranteed to ast::LitKind::Err, token::LitKind::Err. 2024-02-15 14:46:08 +11:00
tokentrees.rs Fix lifetimes in StringReader. 2024-01-11 16:55:10 +11:00
unescape_error_reporting.rs Make emit_unescape_error return Option<ErrorGuaranteed>. 2024-02-15 12:58:18 +11:00
unicode_chars.rs Fix lifetimes in StringReader. 2024-01-11 16:55:10 +11:00