fn clean_tests( toml_tests: Option<&Vec<TomlTarget>>, package_root: &Path, edition: Edition, autodiscover: Option<bool>, warnings: &mut Vec<String>, errors: &mut Vec<String> ) -> CargoResult<Vec<Target>>