Skip to content

Commit a184097

Browse files
committed
Difference between master and beta
1 parent 3d1f645 commit a184097

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_metadata/encoder.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ impl<'a, 'tcx> EncodeContext<'a, 'tcx> {
487487
let is_proc_macro = tcx.sess.crate_types.borrow().contains(&CrateTypeProcMacro);
488488
let has_default_lib_allocator =
489489
attr::contains_name(tcx.hir.krate_attrs(), "default_lib_allocator");
490-
let has_global_allocator = *tcx.sess.has_global_allocator.get();
490+
let has_global_allocator = tcx.sess.has_global_allocator.get();
491491

492492
let root = self.lazy(&CrateRoot {
493493
name: tcx.crate_name(LOCAL_CRATE),

0 commit comments

Comments
 (0)