1
Fork 0

refactor NLL MIR dump entry point

This commit is contained in:
Rémy Rakic 2024-08-28 18:12:16 +00:00
parent 92e1046502
commit f3f5b4dcf2
3 changed files with 23 additions and 15 deletions

View file

@ -229,7 +229,7 @@ fn do_mir_borrowck<'tcx>(
// Dump MIR results into a file, if that is enabled. This let us
// write unit-tests, as well as helping with debugging.
nll::dump_mir_results(&infcx, body, &regioncx, &opt_closure_req);
nll::dump_nll_mir(&infcx, body, &regioncx, &opt_closure_req);
// We also have a `#[rustc_regions]` annotation that causes us to dump
// information.