rust/compiler/rustc_ast_lowering/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
..
asm.rs No need to take ImplTraitContext by ref 2024-02-07 19:30:32 +00:00
block.rs No need to take ImplTraitContext by ref 2024-02-07 19:30:32 +00:00
delegation.rs No need to take ImplTraitContext by ref 2024-02-07 19:30:32 +00:00
errors.rs Add a helpful suggestion 2024-02-10 03:31:34 +00:00
expr.rs Use fewer delayed bugs. 2024-02-14 20:30:37 +11:00
format.rs Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
index.rs hir: Add some FIXMEs for future work 2024-02-07 09:59:15 +03:00
item.rs Use fewer delayed bugs. 2024-02-14 20:30:37 +11:00
lib.rs Add an ErrorGuaranteed to ast::TyKind::Err. 2024-02-15 09:35:11 +11:00
lifetime_collector.rs Reduce exposure of some things. 2023-11-28 14:32:40 +11:00
pat.rs No need to take ImplTraitContext by ref 2024-02-07 19:30:32 +00:00
path.rs No need to take ImplTraitContext by ref 2024-02-07 19:30:32 +00:00