]> git.lizzy.rs Git - rust.git/commit
Fix wrong validation clasisfication of `Option<&T>::Some` values
authorOliver Scherer <github35764891676564198441@oli-obk.de>
Mon, 29 Oct 2018 14:22:47 +0000 (15:22 +0100)
committerOliver Scherer <github35764891676564198441@oli-obk.de>
Mon, 29 Oct 2018 14:22:47 +0000 (15:22 +0100)
commit3ad154f4842e9a1f09b5da37a76a333691f31784
tree94eb6587ad8a0685aa68a29a3b981633daaa5364
parente0106d99d699bbb427f4ebb156a343cc26159e11
Fix wrong validation clasisfication of `Option<&T>::Some` values
src/librustc_mir/interpret/validity.rs
src/test/ui/consts/const-validation-fail-55455.rs [new file with mode: 0644]
src/test/ui/consts/promoted-validation-55454.rs [new file with mode: 0644]