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 /src | |
| parent | d30c3924a4ef6ab4f331134562c145d5cec0179a (diff) | |
| download | rust-0cd0f7ceef442f2767024df261d3898db23402d8.tar.gz rust-0cd0f7ceef442f2767024df261d3898db23402d8.zip | |
move f16/f128 const fn under f16/f128 feature gate
Diffstat (limited to 'src')
| -rw-r--r-- | src/tools/clippy/tests/ui/transmute_float_to_int.fixed | 4 | ||||
| -rw-r--r-- | src/tools/clippy/tests/ui/transmute_float_to_int.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/clippy/tests/ui/transmute_float_to_int.fixed b/src/tools/clippy/tests/ui/transmute_float_to_int.fixed index 83814ca43b9..075a198918a 100644 --- a/src/tools/clippy/tests/ui/transmute_float_to_int.fixed +++ b/src/tools/clippy/tests/ui/transmute_float_to_int.fixed @@ -1,7 +1,7 @@ #![warn(clippy::transmute_float_to_int)] #![allow(clippy::missing_transmute_annotations)] -#![feature(f128, f128_const)] -#![feature(f16, f16_const)] +#![feature(f128)] +#![feature(f16)] fn float_to_int() { let _: u32 = unsafe { 1f32.to_bits() }; diff --git a/src/tools/clippy/tests/ui/transmute_float_to_int.rs b/src/tools/clippy/tests/ui/transmute_float_to_int.rs index 64d6e917203..12541b2f7cf 100644 --- a/src/tools/clippy/tests/ui/transmute_float_to_int.rs +++ b/src/tools/clippy/tests/ui/transmute_float_to_int.rs @@ -1,7 +1,7 @@ #![warn(clippy::transmute_float_to_int)] #![allow(clippy::missing_transmute_annotations)] -#![feature(f128, f128_const)] -#![feature(f16, f16_const)] +#![feature(f128)] +#![feature(f16)] fn float_to_int() { let _: u32 = unsafe { std::mem::transmute(1f32) }; |
