rust/compiler/rustc_ast_pretty
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
..
src Add an ErrorGuaranteed to ast::TyKind::Err. 2024-02-15 09:35:11 +11:00
Cargo.toml Remove IterDelimited. 2023-11-22 08:13:21 +11:00