about summary refs log tree commit diff
path: root/src/test/ui/consts/const-eval/ub-int-array.rs
diff options
context:
space:
mode:
authorOliver Scherer <github35764891676564198441@oli-obk.de>2019-08-30 02:01:04 +0200
committerOliver Scherer <github35764891676564198441@oli-obk.de>2020-07-11 09:22:17 +0200
commitdd872be5da0887d800ae9a001ec212c7161f661c (patch)
tree1865af0fbf8129654684de584aaec272f30afbcd /src/test/ui/consts/const-eval/ub-int-array.rs
parentdaecab3a784f28082df90cebb204998051f3557d (diff)
downloadrust-dd872be5da0887d800ae9a001ec212c7161f661c.tar.gz
rust-dd872be5da0887d800ae9a001ec212c7161f661c.zip
Stabilize `transmute` in constants and statics but not const fn
Diffstat (limited to 'src/test/ui/consts/const-eval/ub-int-array.rs')
-rw-r--r--src/test/ui/consts/const-eval/ub-int-array.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/test/ui/consts/const-eval/ub-int-array.rs b/src/test/ui/consts/const-eval/ub-int-array.rs
index 8907b0c160f..6801c7fa3ff 100644
--- a/src/test/ui/consts/const-eval/ub-int-array.rs
+++ b/src/test/ui/consts/const-eval/ub-int-array.rs
@@ -1,4 +1,3 @@
-#![feature(const_transmute)]
 #![allow(const_err)] // make sure we cannot allow away the errors tested here
 
 //! Test the "array of int" fast path in validity checking, and in particular whether it