]> git.lizzy.rs Git - rust.git/commit
make the dataflow / mir-borrowck types carry a `'tcx` lifetime
authorNiko Matsakis <niko@alum.mit.edu>
Mon, 30 Oct 2017 09:50:39 +0000 (05:50 -0400)
committerNiko Matsakis <niko@alum.mit.edu>
Tue, 31 Oct 2017 16:41:40 +0000 (12:41 -0400)
commit81449174f3fdc3c932f5a5560c91c2930616f6e0
tree15a741fd80e2f83595b7a89606d1b9a33cbc11a7
parent82b287a8c890100678563112e49f7b0533b09c5d
make the dataflow / mir-borrowck types carry a `'tcx` lifetime

Also, factor out `do_mir_borrowck`, which is the code that actually
performs the MIR borrowck from within the scope of an inference context.

This change should be a pure refactoring.
src/librustc_mir/borrow_check.rs
src/librustc_mir/dataflow/drop_flag_effects.rs
src/librustc_mir/dataflow/impls/borrows.rs
src/librustc_mir/dataflow/impls/mod.rs
src/librustc_mir/dataflow/mod.rs
src/librustc_mir/dataflow/move_paths/builder.rs
src/librustc_mir/dataflow/move_paths/mod.rs
src/librustc_mir/transform/elaborate_drops.rs