]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #32156 - pnkfelix:borrowck-on-mir-move-analysis, r=nikomatsakis
authorbors <bors@rust-lang.org>
Tue, 22 Mar 2016 17:00:12 +0000 (10:00 -0700)
committerbors <bors@rust-lang.org>
Tue, 22 Mar 2016 17:00:12 +0000 (10:00 -0700)
Move analysis for MIR borrowck

This PR adds code for doing MIR-based gathering of the moves in a `fn` and the dataflow to determine where uninitialized locations flow to, analogous to how the same thing is done in `borrowck`.

It also adds a couple attributes to print out graphviz visualizations of the analyzed MIR that includes the dataflow analysis results.

cc @nikomatsakis


Trivial merge