mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
fix: don't allow two turbo-fishes in generic arguments
This commit is contained in:
parent
8ae1f9c335
commit
f99bdf4cc0
2 changed files with 38 additions and 33 deletions
|
@ -52,7 +52,6 @@ fn generic_arg(p: &mut Parser) {
|
|||
// NameRef::, this is a path type
|
||||
path_seg.complete(p, PATH_SEGMENT);
|
||||
let qual = path.complete(p, PATH);
|
||||
opt_generic_arg_list(p, false);
|
||||
paths::type_path_for_qualifier(p, qual);
|
||||
path_ty.complete(p, PATH_TYPE);
|
||||
m.complete(p, TYPE_ARG);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue