]> git.lizzy.rs Git - rust.git/commit
Reenable peek test for indirect mutation analysis
authorDylan MacKenzie <ecstaticmorse@gmail.com>
Wed, 12 Feb 2020 21:38:11 +0000 (13:38 -0800)
committerDylan MacKenzie <ecstaticmorse@gmail.com>
Wed, 12 Feb 2020 22:45:18 +0000 (14:45 -0800)
commit9972502bafab062b06ef04c02c653f1b868937bd
tree6d203d5b700ed93928454c034870a75f136a9482
parent34783b73bd891a66fb2af613fef7492376fc7c8a
Reenable peek test for indirect mutation analysis

This uses the new `MaybeMutBorrowedLocals` pass but we keep the
`rustc_peek_indirectly_mutable` since the two are interchangable except
when inspecting a local after it has been marked `StorageDead`.
src/librustc_mir/transform/rustc_peek.rs