diff options
| author | Steven Fackler <sfackler@gmail.com> | 2014-08-03 17:41:58 -0700 |
|---|---|---|
| committer | Steven Fackler <sfackler@gmail.com> | 2014-09-23 23:49:20 -0700 |
| commit | 65cca7c8b14e9c5673af4921a57c2ccbac3fc2cb (patch) | |
| tree | 2a693f86b51ea3725368b408efcc25d83041b9bd /src/libtest/lib.rs | |
| parent | e520bb1b2f1667f17c3503af71273921c4fc9989 (diff) | |
| download | rust-65cca7c8b14e9c5673af4921a57c2ccbac3fc2cb.tar.gz rust-65cca7c8b14e9c5673af4921a57c2ccbac3fc2cb.zip | |
Deprecate `#[ignore(cfg(...))]`
Replace `#[ignore(cfg(a, b))]` with `#[cfg_attr(all(a, b), ignore)]`
Diffstat (limited to 'src/libtest/lib.rs')
| -rw-r--r-- | src/libtest/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
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())); } |
