diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2012-07-26 17:08:21 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2012-07-26 17:08:33 -0700 |
| commit | dbbaa50290ed7c97154bbc44e7bd73937a9dcb5e (patch) | |
| tree | 9df88e9fcc73846be943ad6e4cad0057ac41a05b /src/libstd/test.rs | |
| parent | c60a6b93fbb11751dfb411ee2909fa85644fe76f (diff) | |
| download | rust-dbbaa50290ed7c97154bbc44e7bd73937a9dcb5e.tar.gz rust-dbbaa50290ed7c97154bbc44e7bd73937a9dcb5e.zip | |
Nomenclature fixes in the lint checker. Fewer double-negatives.
New style is allow(foo), warn(foo), deny(foo) and forbid(foo), mirrored by -A foo, -W foo, -D foo and -F foo on command line. These replace -W no-foo, -W foo, -W err-foo, respectively. Forbid is new, and means "deny, and you can't override it".
Diffstat (limited to 'src/libstd/test.rs')
| -rw-r--r-- | src/libstd/test.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/test.rs b/src/libstd/test.rs index 6a595634611..218c32a1980 100644 --- a/src/libstd/test.rs +++ b/src/libstd/test.rs @@ -328,7 +328,9 @@ fn get_concurrency() -> uint { else { threads * sched_overcommit } } +// NB: transitional duplication here. #[warn(no_non_implicitly_copyable_typarams)] +#[allow(non_implicitly_copyable_typarams)] fn filter_tests(opts: test_opts, tests: ~[test_desc]) -> ~[test_desc] { let mut filtered = copy tests; |
