std: Fix mode warning in std::test

This commit is contained in:
Brian Anderson 2012-09-27 15:46:51 -07:00
parent 1845cf23aa
commit 5b93d1a29f

View file

@ -281,7 +281,7 @@ enum TestEvent {
type MonitorMsg = (TestDesc, TestResult);
fn run_tests(opts: &TestOpts, tests: &[TestDesc],
callback: fn@(TestEvent)) {
callback: fn@(+e: TestEvent)) {
let mut filtered_tests = filter_tests(opts, tests);
callback(TeFiltered(copy filtered_tests));