From 65cca7c8b14e9c5673af4921a57c2ccbac3fc2cb Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Sun, 3 Aug 2014 17:41:58 -0700 Subject: Deprecate `#[ignore(cfg(...))]` Replace `#[ignore(cfg(a, b))]` with `#[cfg_attr(all(a, b), ignore)]` --- src/libstd/num/f32.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd/num/f32.rs') diff --git a/src/libstd/num/f32.rs b/src/libstd/num/f32.rs index d91f5579c0d..b2a9f1b7b20 100644 --- a/src/libstd/num/f32.rs +++ b/src/libstd/num/f32.rs @@ -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(); -- cgit 1.4.1-3-g733a5