Move check_mod_impl_wf
query call out of track_errors and bubble errors up instead.
This commit is contained in:
parent
4db93c5750
commit
b1ce8a4ecd
7 changed files with 160 additions and 72 deletions
|
@ -961,8 +961,9 @@ rustc_queries! {
|
|||
desc { |tcx| "checking deathness of variables in {}", describe_as_module(key, tcx) }
|
||||
}
|
||||
|
||||
query check_mod_impl_wf(key: LocalModDefId) -> () {
|
||||
query check_mod_impl_wf(key: LocalModDefId) -> Result<(), ErrorGuaranteed> {
|
||||
desc { |tcx| "checking that impls are well-formed in {}", describe_as_module(key, tcx) }
|
||||
ensure_forwards_result_if_red
|
||||
}
|
||||
|
||||
query check_mod_type_wf(key: LocalModDefId) -> Result<(), ErrorGuaranteed> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue