about summary refs log tree commit diff
path: root/src/librustc_incremental
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2016-03-06 15:54:44 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2016-05-16 22:25:08 +0300
commitaad347c4f781bda18efb3f3cdbaa736e7e458e24 (patch)
tree072f9170e2cc437aefddc428c7b11c930054ccc6 /src/librustc_incremental
parent8310de856db8ba78ba3f4c58e3fe6d3d87f2cb4f (diff)
downloadrust-aad347c4f781bda18efb3f3cdbaa736e7e458e24.tar.gz
rust-aad347c4f781bda18efb3f3cdbaa736e7e458e24.zip
Remove hir::Ident
Diffstat (limited to 'src/librustc_incremental')
-rw-r--r--src/librustc_incremental/calculate_svh.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustc_incremental/calculate_svh.rs b/src/librustc_incremental/calculate_svh.rs
index e914c38963c..f134f3c3f10 100644
--- a/src/librustc_incremental/calculate_svh.rs
+++ b/src/librustc_incremental/calculate_svh.rs
@@ -244,7 +244,7 @@ mod svh_visitor {
             ExprType(..)             => SawExprType,
             ExprIf(..)               => SawExprIf,
             ExprWhile(..)            => SawExprWhile,
-            ExprLoop(_, id)          => SawExprLoop(id.map(|id| id.name.as_str())),
+            ExprLoop(_, id)          => SawExprLoop(id.map(|id| id.as_str())),
             ExprMatch(..)            => SawExprMatch,
             ExprClosure(..)          => SawExprClosure,
             ExprBlock(..)            => SawExprBlock,
@@ -255,8 +255,8 @@ mod svh_visitor {
             ExprIndex(..)            => SawExprIndex,
             ExprPath(ref qself, _)   => SawExprPath(qself.as_ref().map(|q| q.position)),
             ExprAddrOf(m, _)         => SawExprAddrOf(m),
-            ExprBreak(id)            => SawExprBreak(id.map(|id| id.node.name.as_str())),
-            ExprAgain(id)            => SawExprAgain(id.map(|id| id.node.name.as_str())),
+            ExprBreak(id)            => SawExprBreak(id.map(|id| id.node.as_str())),
+            ExprAgain(id)            => SawExprAgain(id.map(|id| id.node.as_str())),
             ExprRet(..)              => SawExprRet,
             ExprInlineAsm(ref a,_,_) => SawExprInlineAsm(a),
             ExprStruct(..)           => SawExprStruct,