]> git.lizzy.rs Git - rust.git/commit
Forbid the creation of mutable borrows to fields of layout constrained types
authorOliver Scherer <github35764891676564198441@oli-obk.de>
Sat, 3 Nov 2018 15:30:05 +0000 (16:30 +0100)
committerOliver Scherer <github35764891676564198441@oli-obk.de>
Tue, 4 Dec 2018 09:17:36 +0000 (10:17 +0100)
commit8bdb11c4d94a05c3d6148e52b53a6b95ec9f0a13
tree62ce5d05ee0a55aa9493ba2637a099e16f8a4379
parent693c55372e950bcf19a95d713a82250a5f4d1bba
Forbid the creation of mutable borrows to fields of layout constrained types
src/librustc_mir/transform/check_unsafety.rs
src/test/ui/unsafe/ranged_ints.rs [new file with mode: 0644]
src/test/ui/unsafe/ranged_ints.stderr [new file with mode: 0644]
src/test/ui/unsafe/ranged_ints2.rs [new file with mode: 0644]
src/test/ui/unsafe/ranged_ints2.stderr [new file with mode: 0644]