]> git.lizzy.rs Git - rust.git/commit
Fix const eval of ZST index operations to make the static assertion work
authorOliver Schneider <github35764891676564198441@oli-obk.de>
Mon, 10 Sep 2018 15:46:30 +0000 (17:46 +0200)
committerOliver Schneider <github35764891676564198441@oli-obk.de>
Tue, 11 Sep 2018 09:27:12 +0000 (11:27 +0200)
commitd1b5231aa75d6c25efc839454331d3c9fb09ffb3
tree8bfa3313997d78526da9d9575f3c6bc555b68972
parent24dca6aecaded209d47aba6e60e0b87eae2d49d6
Fix const eval of ZST index operations to make the static assertion work
src/librustc_mir/interpret/operand.rs
src/test/ui/consts/const-eval/zst_operand_eval.rs [new file with mode: 0644]