rust/src/librustc_mir/util
bors 91eb6fe56d Auto merge of #45013 - chrisvittal:mir_pretty_printing_pr, r=nikomatsakis
Extend mir dump to dump each region

Building on #44878, implement the feature discussed in #44872.

Through discussions on the WG-nll-gitter, @nikomatsakis and I decided to implement this by extending `dump_mir` and all functions that it calls to take a callback of signature `FnMut(PassWhere, &mut Write) -> io::Result<()>` where `PassWhere` is an enum that represents possible locations that we may want to print out extra data in the process of dumping the MIR.

I'm not particularly wedded to the name `PassWhere`, but I felt that simply calling the enum `Where` wasn't the right thing to name it.

This work depends strongly on #44878, and should be rebased on the final version of that tree, whatever that may be.
2017-10-13 01:33:34 +00:00
..
borrowck_errors.rs Auto merge of #45016 - pnkfelix:mir-borrowck-gather-and-signal-move-errors, r=nikomatsakis 2017-10-08 18:12:26 +00:00
def_use.rs rustc_mir: implement visit_local instead/along visit_lvalue where possible. 2017-09-03 19:14:31 +03:00
elaborate_drops.rs bring TyCtxt into scope 2017-09-14 21:26:06 -04:00
graphviz.rs rename from item_mir to optimized_mir 2017-05-02 16:21:57 -04:00
liveness.rs Expand mir dump in order to handle NLL pass 2017-10-04 23:45:09 -04:00
mod.rs Expand mir dump in order to handle NLL pass 2017-10-04 23:45:09 -04:00
patch.rs Merge remote-tracking branch 'origin/master' into gen 2017-08-16 10:03:47 -07:00
pretty.rs Expand mir dump in order to handle NLL pass 2017-10-04 23:45:09 -04:00