Only keep a single well-formed query.

This commit is contained in:
Camille GILLOT 2022-06-12 00:47:21 +02:00
parent 21e9336fe8
commit 9ae2546907
27 changed files with 225 additions and 446 deletions

View file

@ -1398,13 +1398,7 @@ rustc_queries! {
separate_provide_extern
}
query check_item_well_formed(key: LocalDefId) -> () {
desc { |tcx| "checking that `{}` is well-formed", tcx.def_path_str(key.to_def_id()) }
}
query check_trait_item_well_formed(key: LocalDefId) -> () {
desc { |tcx| "checking that `{}` is well-formed", tcx.def_path_str(key.to_def_id()) }
}
query check_impl_item_well_formed(key: LocalDefId) -> () {
query check_well_formed(key: LocalDefId) -> () {
desc { |tcx| "checking that `{}` is well-formed", tcx.def_path_str(key.to_def_id()) }
}