diff options
| author | Orson Peters <orsonpeters@gmail.com> | 2022-02-19 12:23:54 +0100 |
|---|---|---|
| committer | Urgau <urgau@numericable.fr> | 2022-08-15 12:33:00 +0200 |
| commit | 85d5171dea32465a3b62acbe7e09fac026a1b20e (patch) | |
| tree | ef30068d3dd40fecb8c78f0602587c5f956d5fd3 /library/std/src/f32 | |
| parent | 18d61bfbf45f2e1cef44dce832cfe69feb76d13f (diff) | |
Float biteq macros can be unused if test is skipped.
Diffstat (limited to 'library/std/src/f32')
| -rw-r--r-- | library/std/src/f32/tests.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/f32/tests.rs b/library/std/src/f32/tests.rs index 0e2f0561ea0..e1f9b3fe19d 100644 --- a/library/std/src/f32/tests.rs +++ b/library/std/src/f32/tests.rs @@ -299,6 +299,7 @@ fn test_is_sign_negative() { assert!((-f32::NAN).is_sign_negative()); } +#[allow(unused_macros)] macro_rules! assert_f32_biteq { ($left : expr, $right : expr) => { let l: &f32 = &$left; |
