refactor NLL MIR dump entry point
This commit is contained in:
parent
92e1046502
commit
f3f5b4dcf2
3 changed files with 23 additions and 15 deletions
|
@ -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, ®ioncx, &opt_closure_req);
|
||||
nll::dump_nll_mir(&infcx, body, ®ioncx, &opt_closure_req);
|
||||
|
||||
// We also have a `#[rustc_regions]` annotation that causes us to dump
|
||||
// information.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue