We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79734f1 commit 837bde1Copy full SHA for 837bde1
compiler/rustc_trait_selection/src/solve/eval_ctxt/canonical.rs
@@ -90,6 +90,8 @@ impl<'tcx> EvalCtxt<'_, 'tcx> {
90
&mut self,
91
certainty: Certainty,
92
) -> QueryResult<'tcx> {
93
+ self.inspect.make_canonical_response(certainty);
94
+
95
let goals_certainty = self.try_evaluate_added_goals()?;
96
assert_eq!(
97
self.tainted,
@@ -98,8 +100,6 @@ impl<'tcx> EvalCtxt<'_, 'tcx> {
98
100
previous call to `try_evaluate_added_goals!`"
99
101
);
102
- self.inspect.make_canonical_response(certainty);
-
103
// When normalizing, we've replaced the expected term with an unconstrained
104
// inference variable. This means that we dropped information which could
105
// have been important. We handle this by instead returning the nested goals
0 commit comments