]> git.lizzy.rs Git - rust.git/commit
Make sure the feature gate actually works and never allows promoting these operations
authorOliver Schneider <github35764891676564198441@oli-obk.de>
Fri, 3 Aug 2018 11:27:35 +0000 (13:27 +0200)
committerOliver Schneider <github35764891676564198441@oli-obk.de>
Tue, 7 Aug 2018 12:41:33 +0000 (14:41 +0200)
commita091a6567c210686fdbc77cd1c5d5bca5e86cd3d
treec19f783c237b3ebc33df7e732e591cf386720518
parentaa0884ecc11ec60a9fceeda8dc461798809ad1b8
Make sure the feature gate actually works and never allows promoting these operations
src/librustc_mir/transform/qualify_consts.rs
src/test/ui/const-eval/const_raw_ptr_ops.rs [new file with mode: 0644]
src/test/ui/const-eval/const_raw_ptr_ops.stderr [new file with mode: 0644]
src/test/ui/const-eval/promoted_raw_ptr_ops.rs [new file with mode: 0644]
src/test/ui/const-eval/promoted_raw_ptr_ops.stderr [new file with mode: 0644]
src/test/ui/error-codes/E0395.stderr