We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f84c257 commit 6c35bf4Copy full SHA for 6c35bf4
src/libsyntax/parse/parser.rs
@@ -3541,12 +3541,12 @@ impl<'a> Parser<'a> {
3541
}
3542
token::DotDotDot => {
3543
let hi = self.last_span.hi;
3544
- let start = self.mk_expr(lo, hi, ExprPath(enum_path));
+ let start = self.mk_expr(lo, hi, ExprPath(None, enum_path));
3545
self.eat(&token::DotDotDot);
3546
let end = if self.token.is_ident() || self.token.is_path() {
3547
let path = self.parse_path(LifetimeAndTypesWithColons);
3548
let hi = self.span.hi;
3549
- self.mk_expr(lo, hi, ExprPath(path))
+ self.mk_expr(lo, hi, ExprPath(None, path))
3550
} else {
3551
self.parse_literal_maybe_minus()
3552
};
0 commit comments