提交 671ccca8 编写于 作者: O Oliver Schneider

Update to rustc 1.19.0-nightly (777ee207 2017-05-01)

上级 488fc53d
......@@ -248,7 +248,7 @@ fn visit_lvalue(
bug!("static def id doesn't point to item");
}
} else {
let def = self.ecx.tcx.sess.cstore.describe_def(def_id).expect("static not found");
let def = self.ecx.tcx.describe_def(def_id).expect("static not found");
if let hir::def::Def::Static(_, mutable) = def {
self.global_item(def_id, substs, span, !mutable);
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册