diff options
| author | Nick Cameron <ncameron@mozilla.com> | 2018-09-06 19:24:33 +1200 |
|---|---|---|
| committer | Nick Cameron <ncameron@mozilla.com> | 2018-10-26 09:48:44 +1300 |
| commit | b49da276b307a58c7b3e5d5332fa32bccfb32f77 (patch) | |
| tree | 28a56c3881a4117f4c625c4675b4f1eed22efea1 /src/libsyntax | |
| parent | fc67d8fac48d48bcdeaab1c8e0a2770e0f246247 (diff) | |
| download | rust-b49da276b307a58c7b3e5d5332fa32bccfb32f77.tar.gz rust-b49da276b307a58c7b3e5d5332fa32bccfb32f77.zip | |
Store a resolved def on hir::PathSegment
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ast.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index 7548c298854..d33077b336b 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -147,7 +147,7 @@ impl PathSegment { pub fn crate_root(span: Span) -> Self { PathSegment { ident: Ident::new(keywords::CrateRoot.name(), span), - id: CRATE_NODE_ID, + id: DUMMY_NODE_ID, args: None, } } |
