We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2720f63 commit c0e6a15Copy full SHA for c0e6a15
src/librustc_mir/transform/nll/infer.rs
@@ -93,7 +93,7 @@ impl InferenceContext {
93
changed = false;
94
for constraint in &self.constraints {
95
let sub = &self.definitions[constraint.sub].value.clone();
96
- let sup_def = &self.definitions[constraint.sup];
+ let sup_def = &mut self.definitions[constraint.sup];
97
debug!("constraint: {:?}", constraint);
98
debug!(" sub (before): {:?}", sub);
99
debug!(" sup (before): {:?}", sup_def.value);
0 commit comments