mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-04 07:35:49 +00:00
Handle generic args for method calls
This commit is contained in:
parent
65bd9bc3a8
commit
a1bda3fc08
6 changed files with 50 additions and 11 deletions
|
@ -129,7 +129,7 @@ impl Path {
|
|||
}
|
||||
|
||||
impl GenericArgs {
|
||||
fn from_ast(node: &ast::TypeArgList) -> Option<GenericArgs> {
|
||||
pub fn from_ast(node: &ast::TypeArgList) -> Option<GenericArgs> {
|
||||
let mut args = Vec::new();
|
||||
for type_arg in node.type_args() {
|
||||
let type_ref = TypeRef::from_ast_opt(type_arg.type_ref());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue