mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-24 14:08:17 +00:00
Add an ErrorGuaranteed to ast::TyKind::Err (attempt 2) This makes it more like `hir::TyKind::Err`, and avoids a `has_errors` assertion in `LoweringContext::lower_ty_direct`. r? ```@oli-obk```