diff options
| author | Ralf Jung <post@ralfj.de> | 2024-10-04 17:43:27 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-10-05 10:13:18 +0200 |
| commit | 0cd0f7ceef442f2767024df261d3898db23402d8 (patch) | |
| tree | 5909bbb9f56ecaa933791368c256e63f45413fc4 /tests/ui/float | |
| parent | d30c3924a4ef6ab4f331134562c145d5cec0179a (diff) | |
| download | rust-0cd0f7ceef442f2767024df261d3898db23402d8.tar.gz rust-0cd0f7ceef442f2767024df261d3898db23402d8.zip | |
move f16/f128 const fn under f16/f128 feature gate
Diffstat (limited to 'tests/ui/float')
| -rw-r--r-- | tests/ui/float/classify-runtime-const.rs | 4 | ||||
| -rw-r--r-- | tests/ui/float/conv-bits-runtime-const.rs | 2 |
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; |
