mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
fix: correctly handle jointness
This commit is contained in:
parent
c0556bd8c1
commit
fbb6a6a95b
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ fn generic_arg(p: &mut Parser) {
|
||||||
path_ty.abandon(p);
|
path_ty.abandon(p);
|
||||||
m.complete(p, ASSOC_TYPE_ARG);
|
m.complete(p, ASSOC_TYPE_ARG);
|
||||||
}
|
}
|
||||||
T![:] if p.nth(1) == T![:] => {
|
T![:] if p.at(T![::]) => {
|
||||||
// NameRef::, this is a path type
|
// NameRef::, this is a path type
|
||||||
path_seg.complete(p, PATH_SEGMENT);
|
path_seg.complete(p, PATH_SEGMENT);
|
||||||
let qual = path.complete(p, PATH);
|
let qual = path.complete(p, PATH);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue