1
Fork 0

Only compute specializes query if specialization is enabled in the crate of the specialized impl

This commit is contained in:
Michael Goulet 2024-06-07 15:58:05 -04:00
parent 1653a2d34a
commit 4b188d9d66
8 changed files with 39 additions and 37 deletions

View file

@ -623,6 +623,7 @@ pub fn provide(providers: &mut Providers) {
*providers = Providers {
specialization_graph_of: specialize::specialization_graph_provider,
specializes: specialize::specializes,
specialization_enabled_in: specialize::specialization_enabled_in,
instantiate_and_check_impossible_predicates,
is_impossible_associated_item,
..*providers