rust/compiler/rustc_parse/src
Nicholas Nethercote 5233bc91da Add an ErrorGuaranteed to ast::TyKind::Err.
This makes it more like `hir::TyKind::Err`, and avoids a
`span_delayed_bug` call in `LoweringContext::lower_ty_direct`.

It also requires adding `ast::TyKind::Dummy`, now that
`ast::TyKind::Err` can't be used for that purpose in the absence of an
error emission.

There are a couple of cases that aren't as neat as I would have liked,
marked with `FIXME` comments.
2024-02-15 09:35:11 +11:00
..
lexer Stop using String for error codes. 2024-01-29 07:41:41 +11:00
parser Add an ErrorGuaranteed to ast::TyKind::Err. 2024-02-15 09:35:11 +11:00
errors.rs Add SubdiagnosticMessageOp as a trait alias. 2024-02-08 13:02:44 +11:00
lib.rs Invert diagnostic lints. 2024-02-06 13:12:33 +11:00
validate_attr.rs Rename consuming chaining methods on DiagnosticBuilder. 2024-01-10 07:40:00 +11:00