diff --git a/crates/project_model/src/lib.rs b/crates/project_model/src/lib.rs index 1d408dff2ea..cdefee804ba 100644 --- a/crates/project_model/src/lib.rs +++ b/crates/project_model/src/lib.rs @@ -119,7 +119,7 @@ fn find_cargo_toml_in_child_dir(entities: ReadDir) -> Vec { } } - pub fn discover_all(paths: &[impl AsRef]) -> Vec { + pub fn discover_all(paths: &[AbsPathBuf]) -> Vec { let mut res = paths .iter() .filter_map(|it| ProjectManifest::discover(it.as_ref()).ok())