make relate's const ty assertion use semantic equality

This commit is contained in:
Boxy 2023-02-11 23:05:11 +00:00
parent 8dabf5da9e
commit a85b0101e6
7 changed files with 237 additions and 22 deletions

View file

@ -554,6 +554,7 @@ pub fn provide(providers: &mut ty::query::Providers) {
specialization_graph_of: specialize::specialization_graph_provider,
specializes: specialize::specializes,
subst_and_check_impossible_predicates,
check_const_param_definitely_unequal: misc::check_const_param_definitely_unequal,
is_impossible_method,
..*providers
};