diff --git a/crates/ra_hir/src/path.rs b/crates/ra_hir/src/path.rs index 83bbbb7416..6ca373e34f 100644 --- a/crates/ra_hir/src/path.rs +++ b/crates/ra_hir/src/path.rs @@ -129,7 +129,7 @@ impl Path { } impl GenericArgs { - pub fn from_ast(node: &ast::TypeArgList) -> Option { + pub(crate) fn from_ast(node: &ast::TypeArgList) -> Option { let mut args = Vec::new(); for type_arg in node.type_args() { let type_ref = TypeRef::from_ast_opt(type_arg.type_ref());