Skip to content

Commit 8c2bd3e

Browse files
committed
Rustup to rustc 1.36.0-nightly (e938c2b9a 2019-04-23)
1 parent 004dc33 commit 8c2bd3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/constant.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ fn data_id_for_static<'a, 'tcx: 'a, B: Backend>(
190190
linkage: Linkage,
191191
) -> DataId {
192192
let symbol_name = tcx.symbol_name(Instance::mono(tcx, def_id)).as_str();
193-
let is_mutable = if let ::rustc::hir::Mutability::MutMutable = tcx.is_static(def_id).unwrap() {
193+
let is_mutable = if tcx.is_mutable_static(def_id) {
194194
true
195195
} else {
196196
!tcx.type_of(def_id)

0 commit comments

Comments
 (0)