Skip to content

Commit f8c8813

Browse files
authored
Merge pull request #162 from solson/rustup
Update to rustc 1.19.0-nightly (777ee2079 2017-05-01)
2 parents 488fc53 + 671ccca commit f8c8813

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/step.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ impl<'a, 'b, 'tcx> Visitor<'tcx> for ConstantExtractor<'a, 'b, 'tcx> {
248248
bug!("static def id doesn't point to item");
249249
}
250250
} else {
251-
let def = self.ecx.tcx.sess.cstore.describe_def(def_id).expect("static not found");
251+
let def = self.ecx.tcx.describe_def(def_id).expect("static not found");
252252
if let hir::def::Def::Static(_, mutable) = def {
253253
self.global_item(def_id, substs, span, !mutable);
254254
} else {

0 commit comments

Comments
 (0)