summaryrefslogtreecommitdiffstats
path: root/vendor/packed_simd_2/src/api/reductions/float_arithmetic.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--vendor/packed_simd_2/src/api/reductions/float_arithmetic.rs8
1 files changed, 2 insertions, 6 deletions
diff --git a/vendor/packed_simd_2/src/api/reductions/float_arithmetic.rs b/vendor/packed_simd_2/src/api/reductions/float_arithmetic.rs
index 4a47452e5..9dc8783db 100644
--- a/vendor/packed_simd_2/src/api/reductions/float_arithmetic.rs
+++ b/vendor/packed_simd_2/src/api/reductions/float_arithmetic.rs
@@ -144,8 +144,6 @@ macro_rules! impl_reduction_float_arithmetic {
#[cfg_attr(not(target_arch = "wasm32"), test)]
#[cfg_attr(target_arch = "wasm32", wasm_bindgen_test)]
#[allow(unreachable_code)]
- #[allow(unused_mut)]
- // ^^^ FIXME: https://github.com/rust-lang/rust/issues/55344
fn sum_nan() {
// FIXME: https://bugs.llvm.org/show_bug.cgi?id=36732
// https://github.com/rust-lang-nursery/packed_simd/issues/6
@@ -175,8 +173,6 @@ macro_rules! impl_reduction_float_arithmetic {
#[cfg_attr(not(target_arch = "wasm32"), test)]
#[cfg_attr(target_arch = "wasm32", wasm_bindgen_test)]
#[allow(unreachable_code)]
- #[allow(unused_mut)]
- // ^^^ FIXME: https://github.com/rust-lang/rust/issues/55344
fn product_nan() {
// FIXME: https://bugs.llvm.org/show_bug.cgi?id=36732
// https://github.com/rust-lang-nursery/packed_simd/issues/6
@@ -247,7 +243,7 @@ macro_rules! impl_reduction_float_arithmetic {
tree_bits - red_bits
} < 2,
"vector: {:?} | simd_reduction: {:?} | \
- tree_reduction: {} | scalar_reduction: {}",
+tree_reduction: {} | scalar_reduction: {}",
v,
simd_reduction,
tree_reduction,
@@ -303,7 +299,7 @@ macro_rules! impl_reduction_float_arithmetic {
tree_bits - red_bits
} < ulp_limit.try_into().unwrap(),
"vector: {:?} | simd_reduction: {:?} | \
- tree_reduction: {} | scalar_reduction: {}",
+tree_reduction: {} | scalar_reduction: {}",
v,
simd_reduction,
tree_reduction,