diff --git a/src/compiletest/compiletest.rs b/src/compiletest/compiletest.rs index 51bc9d71f88..6c6a78a360b 100644 --- a/src/compiletest/compiletest.rs +++ b/src/compiletest/compiletest.rs @@ -126,12 +126,6 @@ pub fn parse_config(args: Vec ) -> Config { } } - let filter = if !matches.free.is_empty() { - Some(matches.free[0].clone()) - } else { - None - }; - Config { compile_lib_path: make_absolute(opt_path(matches, "compile-lib-path")), run_lib_path: make_absolute(opt_path(matches, "run-lib-path")),