]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/middle/trans/debuginfo.rs
auto merge of #9005 : alexcrichton/rust/rusty-log, r=brson
[rust.git] / src / librustc / middle / trans / debuginfo.rs
index b89414a6a53a00407633870400a62cc2a01295ce..70630e3ee49b226b37a3494a323fa09aa815e417 100644 (file)
@@ -1995,6 +1995,7 @@ fn walk_expr(cx: &mut CrateContext,
         scope_map.insert(exp.id, scope_stack.last().scope_metadata);
 
         match exp.node {
+            ast::ExprLogLevel |
             ast::ExprSelf     |
             ast::ExprLit(_)   |
             ast::ExprBreak(_) |
@@ -2033,7 +2034,6 @@ fn walk_expr(cx: &mut CrateContext,
             }
 
             ast::ExprAssign(@ref sub_exp1, @ref sub_exp2)    |
-            ast::ExprLog(@ref sub_exp1, @ref sub_exp2)       |
             ast::ExprRepeat(@ref sub_exp1, @ref sub_exp2, _) => {
                 walk_expr(cx, sub_exp1, scope_stack, scope_map);
                 walk_expr(cx, sub_exp2, scope_stack, scope_map);