Rust upgrade to rustc 1.22.0-nightly (0701b37d9 2017-09-18)
This commit is contained in:
@@ -307,7 +307,7 @@ fn fetch_int_literal(cx: &LateContext, lit: &Expr) -> Option<u128> {
|
||||
cx.tcx.mir_const_qualif(def_id);
|
||||
cx.tcx.hir.body(cx.tcx.hir.body_owned_by(id))
|
||||
} else {
|
||||
cx.tcx.extern_const_body(def_id)
|
||||
cx.tcx.extern_const_body(def_id).body
|
||||
};
|
||||
fetch_int_literal(cx, &body.value)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user