diff options
| author | bors <bors@rust-lang.org> | 2018-10-26 00:04:29 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-10-26 00:04:29 +0000 |
| commit | 7b0735a832dd49cb482084590eb0f2577955c079 (patch) | |
| tree | 4643cd80f8d6e5f3ace9574a30158020dba1c830 /src/libsyntax/parse | |
| parent | 4bd4e4130ed531a644263db26bf8461704215c77 (diff) | |
| parent | 6dd5bb18d7a832add3f0cadb70897da6fd44892b (diff) | |
| download | rust-7b0735a832dd49cb482084590eb0f2577955c079.tar.gz rust-7b0735a832dd49cb482084590eb0f2577955c079.zip | |
Auto merge of #54145 - nrc:save-path-segments, r=petrochenkov
Keep resolved defs in path prefixes and emit them in save-analysis Closes https://github.com/nrc/rls-analysis/issues/109 r? @eddyb or @petrochenkov
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 9c47589a0bd..589b3e30fcf 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -2134,7 +2134,7 @@ impl<'a> Parser<'a> { ParenthesisedArgs { inputs, output, span }.into() }; - PathSegment { ident, args } + PathSegment { ident, args, id: ast::DUMMY_NODE_ID } } else { // Generic arguments are not found. PathSegment::from_ident(ident) |
