We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0556bd commit fbb6a6aCopy full SHA for fbb6a6a
crates/parser/src/grammar/generic_args.rs
@@ -51,7 +51,7 @@ fn generic_arg(p: &mut Parser) {
51
path_ty.abandon(p);
52
m.complete(p, ASSOC_TYPE_ARG);
53
}
54
- T![:] if p.nth(1) == T![:] => {
+ T![:] if p.at(T![::]) => {
55
// NameRef::, this is a path type
56
path_seg.complete(p, PATH_SEGMENT);
57
let qual = path.complete(p, PATH);
0 commit comments