Only compute specializes query if specialization is enabled in the crate of the specialized impl
This commit is contained in:
parent
1653a2d34a
commit
4b188d9d66
8 changed files with 39 additions and 37 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue