rust/compiler/rustc_parse/src
León Orell Valerian Liehr ae01e99831
Rollup merge of #121379 - nnethercote:rm-unchecked_error_guaranteed, r=oli-obk
Remove an `unchecked_error_guaranteed` call.

If we abort immediately after complaining about the obsolete `impl Trait for ..` syntax, then we avoid reaching HIR lowering. This means we can use `TyKind::Dummy` instead of `TyKind::Err`.

r? `@oli-obk`
2024-02-21 16:32:59 +01:00
..
lexer Prefer DiagnosticBuilder over Diagnostic in diagnostic modifiers. 2024-02-19 20:23:20 +11:00
parser Rollup merge of #121379 - nnethercote:rm-unchecked_error_guaranteed, r=oli-obk 2024-02-21 16:32:59 +01:00
errors.rs Support async trait bounds in macros 2024-02-20 16:09:09 +00:00
lib.rs Invert diagnostic lints. 2024-02-06 13:12:33 +11:00
validate_attr.rs Add ErrorGuaranteed to ast::LitKind::Err, token::LitKind::Err. 2024-02-15 14:46:08 +11:00