mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 15:15:24 +00:00
Fix parsing of parenthesized type args and RTN
This commit is contained in:
parent
edb432639b
commit
65c0b29720
44 changed files with 1022 additions and 700 deletions
|
@ -525,7 +525,7 @@ fn method_call_expr<const FLOAT_RECOVERY: bool>(
|
|||
p.bump(T![.]);
|
||||
}
|
||||
name_ref(p);
|
||||
generic_args::opt_generic_arg_list(p, true);
|
||||
generic_args::opt_generic_arg_list_expr(p);
|
||||
if p.at(T!['(']) {
|
||||
arg_list(p);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue