]> git.lizzy.rs Git - rust.git/commit
polonius: add generation of liveneness-related facts
authorAlbin Stjerna <albin.stjerna@gmail.com>
Fri, 12 Jul 2019 20:48:02 +0000 (22:48 +0200)
committerAlbin Stjerna <albin.stjerna@gmail.com>
Fri, 12 Jul 2019 20:48:02 +0000 (22:48 +0200)
commitac0a3d106bf33395da6251562800ab8df5e60d3a
tree76517cc3a19faa2ba94be32c29e66583de42350c
parente775bf33c0809550bf8036ead82c16d0b6e06c34
polonius: add generation of liveneness-related facts

Notably contains an ugly hack to generate initialization information for
variables that will go away when we have that functionality in Polonius.
src/librustc/mir/mod.rs
src/librustc_mir/borrow_check/flows.rs
src/librustc_mir/borrow_check/nll/facts.rs
src/librustc_mir/borrow_check/nll/mod.rs
src/librustc_mir/borrow_check/nll/type_check/liveness/mod.rs
src/librustc_mir/borrow_check/nll/type_check/liveness/polonius.rs [new file with mode: 0644]
src/librustc_mir/borrow_check/nll/type_check/liveness/trace.rs