mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
std: Fix mode warning in std::test
This commit is contained in:
+1
-1
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user