about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-10-05 13:15:58 +0200
committerGitHub <noreply@github.com>2024-10-05 13:15:58 +0200
commitcb5bb13ea9a5213a9bb9b51c3cfc0aa1c3f16dee (patch)
treed2321f796dac8104af427793e94d874811220ed1 /tests
parent92beb42f6438925bce3458a1377407b4e4309202 (diff)
parent0cd0f7ceef442f2767024df261d3898db23402d8 (diff)
downloadrust-cb5bb13ea9a5213a9bb9b51c3cfc0aa1c3f16dee.tar.gz
rust-cb5bb13ea9a5213a9bb9b51c3cfc0aa1c3f16dee.zip
Rollup merge of #131256 - RalfJung:f16-f128-const, r=ibraheemdev
move f16/f128 const fn under f16/f128 feature gate

The `*_const` features were added to work around https://github.com/rust-lang/rust/issues/129656, which should not be needed any more.
Diffstat (limited to 'tests')
-rw-r--r--tests/ui/float/classify-runtime-const.rs4
-rw-r--r--tests/ui/float/conv-bits-runtime-const.rs2
2 files changed, 2 insertions, 4 deletions
diff --git a/tests/ui/float/classify-runtime-const.rs b/tests/ui/float/classify-runtime-const.rs
index 2a24e51cabb..ca852ea2468 100644
--- a/tests/ui/float/classify-runtime-const.rs
+++ b/tests/ui/float/classify-runtime-const.rs
@@ -6,8 +6,8 @@
 
 // This tests the float classification functions, for regular runtime code and for const evaluation.
 
-#![feature(f16_const)]
-#![feature(f128_const)]
+#![feature(f16)]
+#![feature(f128)]
 
 use std::num::FpCategory::*;
 
diff --git a/tests/ui/float/conv-bits-runtime-const.rs b/tests/ui/float/conv-bits-runtime-const.rs
index 60c45cc4cc1..3046728fe66 100644
--- a/tests/ui/float/conv-bits-runtime-const.rs
+++ b/tests/ui/float/conv-bits-runtime-const.rs
@@ -5,8 +5,6 @@
 
 #![feature(f16)]
 #![feature(f128)]
-#![feature(f16_const)]
-#![feature(f128_const)]
 #![allow(unused_macro_rules)]
 
 use std::hint::black_box;