inteference_context should be mut
This commit is contained in:
parent
25aa6eaf30
commit
2720f635a3
@ -161,7 +161,7 @@ impl MirPass for NLL {
|
||||
Ok(())
|
||||
});
|
||||
let (_lookup_map, regions) = visitor.into_results();
|
||||
let inference_context = InferenceContext::new(regions);
|
||||
let mut inference_context = InferenceContext::new(regions);
|
||||
inference_context.solve(infcx, &renumbered_mir);
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user