]> git.lizzy.rs Git - rust.git/commit
make reborrow shallow, and fix tests for that
authorRalf Jung <post@ralfj.de>
Fri, 2 Aug 2019 06:09:22 +0000 (08:09 +0200)
committerRalf Jung <post@ralfj.de>
Fri, 2 Aug 2019 06:09:22 +0000 (08:09 +0200)
commitc4c2716f4e92550d20f6bec1c21f7ee90ddb5848
treecad19de9c4c42b8564c924e2e5bf169dc7b9cef5
parent5bbf6733ea3d253740f2b78360c20f05781cfa11
make reborrow shallow, and fix tests for that
src/stacked_borrows.rs
tests/compile-fail/stacked_borrows/buggy_split_at_mut.rs
tests/compile-fail/stacked_borrows/return_invalid_mut_option.rs
tests/compile-fail/stacked_borrows/return_invalid_mut_tuple.rs
tests/compile-fail/stacked_borrows/return_invalid_shr_option.rs
tests/compile-fail/stacked_borrows/return_invalid_shr_tuple.rs