rust/compiler/rustc_passes
Matthias Krüger 19b8685b06
Rollup merge of #108379 - compiler-errors:hir-error-guaranteed, r=cjgillot
Add `ErrorGuaranteed` to `hir::{Expr,Ty}Kind::Err` variants

First step in making the `Err` variants of `ExprKind` and `TyKind` require an `ErrorGuaranteed` during parsing. Making the corresponding AST versions require `ErrorGuaranteed` is a bit harder, whereas it was pretty easy to do this for HIR, so let's do that first.

The only weird thing about this PR is that `ErrorGuaranteed` is moved to `rustc_span`. This is *certainly* not the right place to put it, but `rustc_hir` cannot depend on `rustc_error` because the latter already depends on the former. Should I just pull out some of the error machinery from `rustc_error` into an even more minimal crate that `rustc_hir` can depend on? Advice would be appreciated.
2023-02-26 12:04:58 +01:00
..
locales Rollup merge of #107911 - blyxyas:issue-107231-fix, r=compiler-errors 2023-02-25 11:53:10 -08:00
src Rollup merge of #108379 - compiler-errors:hir-error-guaranteed, r=cjgillot 2023-02-26 12:04:58 +01:00
Cargo.toml passes: migrate half of check_attr 2022-07-15 16:13:49 +01:00