File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
compiler/rustc_next_trait_solver/src/solve/normalizes_to Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 2121 self . instantiate_normalizes_to_term ( goal, normalized_const. into ( ) ) ;
2222 self . evaluate_added_goals_and_make_canonical_response ( Certainty :: Yes )
2323 } 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.
2431 self . evaluate_added_goals_and_make_canonical_response ( Certainty :: AMBIGUOUS )
2532 }
2633 }
You can’t perform that action at this time.
0 commit comments