summaryrefslogtreecommitdiff
path: root/tests/ui/consts/extra-const-ub/detect-extra-ub.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/consts/extra-const-ub/detect-extra-ub.rs')
-rw-r--r--tests/ui/consts/extra-const-ub/detect-extra-ub.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/ui/consts/extra-const-ub/detect-extra-ub.rs b/tests/ui/consts/extra-const-ub/detect-extra-ub.rs
index e2f8149883b..6a3c93ce7a6 100644
--- a/tests/ui/consts/extra-const-ub/detect-extra-ub.rs
+++ b/tests/ui/consts/extra-const-ub/detect-extra-ub.rs
@@ -1,7 +1,6 @@
// revisions: no_flag with_flag
// [no_flag] check-pass
// [with_flag] compile-flags: -Zextra-const-ub-checks
-#![feature(const_ptr_read)]
use std::mem::transmute;