From d1bdcbc8e50ed09740af8e855b87639512a5358c Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Sun, 4 Jun 2017 18:15:42 +0200 Subject: [PATCH] Update lowering.rs --- src/librustc/hir/lowering.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/librustc/hir/lowering.rs b/src/librustc/hir/lowering.rs index 6e98c57d1cd..76f943cbe02 100644 --- a/src/librustc/hir/lowering.rs +++ b/src/librustc/hir/lowering.rs @@ -70,10 +70,10 @@ const HIR_ID_COUNTER_LOCKED: u32 = 0xFFFFFFFF; pub struct LoweringContext<'a> { crate_root: Option<&'static str>, - + // Use to assign ids to hir nodes that do not directly correspond to an ast node sess: &'a Session, - + // As we walk the AST we must keep track of the current 'parent' def id (in // the form of a DefIndex) so that if we create a new node which introduces // a definition, then we can properly create the def id.