]> git.lizzy.rs Git - rust.git/commit
Add "Shallow" borrow kind
authorMatthew Jasper <mjjasper1@gmail.com>
Mon, 10 Sep 2018 21:33:45 +0000 (22:33 +0100)
committerMatthew Jasper <mjjasper1@gmail.com>
Mon, 24 Sep 2018 22:33:13 +0000 (23:33 +0100)
commitced5c2d08af52de40d104687c2b6066d9daedecf
tree6c658a0c77354f47de7b52c96d3150ecc644a619
parenta072d1bca6282d1d2fbec103d12393527eb5a868
Add "Shallow" borrow kind

This allows treating the "fake" match borrows differently from shared
borrows.
src/librustc/ich/impls_mir.rs
src/librustc/mir/mod.rs
src/librustc/mir/tcx.rs
src/librustc/mir/visit.rs
src/librustc_mir/borrow_check/borrow_set.rs
src/librustc_mir/borrow_check/error_reporting.rs
src/librustc_mir/borrow_check/mod.rs
src/librustc_mir/borrow_check/nll/invalidation.rs
src/librustc_mir/borrow_check/path_utils.rs
src/librustc_mir/borrow_check/places_conflict.rs
src/librustc_mir/build/matches/mod.rs