File tree 1 file changed +7
-0
lines changed
compiler/rustc_next_trait_solver/src/solve/normalizes_to
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 21
21
self . instantiate_normalizes_to_term ( goal, normalized_const. into ( ) ) ;
22
22
self . evaluate_added_goals_and_make_canonical_response ( Certainty :: Yes )
23
23
} else {
24
+ // FIXME(BoxyUwU) FIXME(min_generic_const_args): I could not figure out how to write a test for this
25
+ // as we don't currently support constants in the type system with impossible predicates. It may become
26
+ // possible once `min_generic_const_args` has progressed more.
27
+
28
+ // In coherence we should never consider an unevaluatable constant to be rigid. It may be failing due to
29
+ // impossible predicates (cc #139000 #137972), or a `panic!`, either way we don't want this to influence
30
+ // what impls are considered to overlap.
24
31
self . evaluate_added_goals_and_make_canonical_response ( Certainty :: AMBIGUOUS )
25
32
}
26
33
}
You can’t perform that action at this time.
0 commit comments