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/libtest/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/libtest') diff --git a/src/libtest/lib.rs b/src/libtest/lib.rs index 43a1899f45e..04489d78027 100644 --- a/src/libtest/lib.rs +++ b/src/libtest/lib.rs @@ -356,8 +356,7 @@ Test Attributes: #[ignore] - When applied to a function which is already attributed as a test, then the test runner will ignore these tests during normal test runs. Running with --ignored will run these - tests. This may also be written as #[ignore(cfg(...))] to - ignore the test on certain configurations.", + tests.", usage = getopts::usage(message.as_slice(), optgroups().as_slice())); } -- cgit 1.4.1-3-g733a5