From: bjorn3 Date: Sun, 4 Jun 2017 16:15:42 +0000 (+0200) Subject: Update lowering.rs X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=d1bdcbc8e50ed09740af8e855b87639512a5358c;p=rust.git Update lowering.rs --- 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 @@ 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.