]> git.lizzy.rs Git - rust.git/commit
0-length arrays can even be mutably promoted
authorOliver Schneider <github35764891676564198441@oli-obk.de>
Tue, 24 Jul 2018 18:47:53 +0000 (20:47 +0200)
committerOliver Schneider <github35764891676564198441@oli-obk.de>
Wed, 25 Jul 2018 12:09:06 +0000 (14:09 +0200)
commit01d4cd5aaecef3f944812c396f58c56fcc1449ba
tree945cb01f21e700fd86ca9098f5c68b34b9a7c79a
parent13985724033467ab86da9136c43fe242092b294e
0-length arrays can even be mutably promoted
src/librustc_mir/borrow_check/mod.rs
src/test/ui/const-eval/promote_mutable_zst_mir_borrowck.rs [new file with mode: 0644]