diff options
| author | bors <bors@rust-lang.org> | 2015-10-24 18:37:09 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-10-24 18:37:09 +0000 |
| commit | 8d86d1a4e17239361ecebced0d5dd246efa95512 (patch) | |
| tree | ee04f775ecf7a9ac7437443824f35c29cffbe919 /src/libtest | |
| parent | 04e497c0056aed899cd6edbc98e7a68a9b391c5c (diff) | |
| parent | 1e62bd2754d1c83959151e97c871680ca47110dc (diff) | |
| download | rust-8d86d1a4e17239361ecebced0d5dd246efa95512.tar.gz rust-8d86d1a4e17239361ecebced0d5dd246efa95512.zip | |
Auto merge of #29215 - fhahn:issue-28157-bad-semicolon, r=alexcrichton
PR for #28157. At the moment, `rustc` emits a warning when a bare semicolon is encountered (could also be a fail, but I think this is a backwards incompatible change). Also I am not sure where the best place for a test for that warning would be. Seems run-pass tests do not check warnings.
Diffstat (limited to 'src/libtest')
| -rw-r--r-- | src/libtest/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libtest/lib.rs b/src/libtest/lib.rs index ad00bb66733..cfe75779536 100644 --- a/src/libtest/lib.rs +++ b/src/libtest/lib.rs @@ -924,7 +924,7 @@ pub fn filter_tests(opts: &TestOpts, tests: Vec<TestDescAndFn>) -> Vec<TestDescA } else { None } - }; + } filtered.into_iter().filter_map(filter).collect() }; |
