Turn type inhabitedness into a query

This commit is contained in:
Nadrieril
2020-12-03 00:25:04 +00:00
parent b82f149d08
commit 8598c9f6e5
4 changed files with 64 additions and 31 deletions

View File

@@ -3146,6 +3146,7 @@ pub fn provide(providers: &mut ty::query::Providers) {
*providers = ty::query::Providers {
trait_impls_of: trait_def::trait_impls_of_provider,
all_local_trait_impls: trait_def::all_local_trait_impls,
type_uninhabited_from: inhabitedness::type_uninhabited_from,
..*providers
};
}