Deprecate #[ignore(cfg(...))]
Replace `#[ignore(cfg(a, b))]` with `#[cfg_attr(all(a, b), ignore)]`
This commit is contained in:
parent
e520bb1b2f
commit
65cca7c8b1
17 changed files with 28 additions and 20 deletions
|
|
@ -766,7 +766,7 @@ mod tests {
|
|||
assert_eq!((-0f32).frexp(), (-0f32, 0));
|
||||
}
|
||||
|
||||
#[test] #[ignore(cfg(windows))] // FIXME #8755
|
||||
#[test] #[cfg_attr(windows, ignore)] // FIXME #8755
|
||||
fn test_frexp_nowin() {
|
||||
let inf: f32 = Float::infinity();
|
||||
let neg_inf: f32 = Float::neg_infinity();
|
||||
|
|
|
|||
|
|
@ -768,7 +768,7 @@ mod tests {
|
|||
assert_eq!((-0f64).frexp(), (-0f64, 0));
|
||||
}
|
||||
|
||||
#[test] #[ignore(cfg(windows))] // FIXME #8755
|
||||
#[test] #[cfg_attr(windows, ignore)] // FIXME #8755
|
||||
fn test_frexp_nowin() {
|
||||
let inf: f64 = Float::infinity();
|
||||
let neg_inf: f64 = Float::neg_infinity();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue