about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-06-08 04:54:59 +0000
committerbors <bors@rust-lang.org>2015-06-08 04:54:59 +0000
commitbea1c4a78e5233ea6f85a2028a26e08c26635fca (patch)
treebf33ebab8b39bb8d7aa7289e49062ad667169fe0 /src/liballoc
parent717e8831b6b81669f7d087a2a1d7f7e899bcea43 (diff)
parentec078a033bdd2a4d076f78f2e655b8c3e5e4bf6a (diff)
downloadrust-bea1c4a78e5233ea6f85a2028a26e08c26635fca.tar.gz
rust-bea1c4a78e5233ea6f85a2028a26e08c26635fca.zip
Auto merge of #25823 - oli-obk:static_to_const_lint, r=alexcrichton
r? @eddyb 
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/boxed.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs
index 12eadcc145d..4ee500faa22 100644
--- a/src/liballoc/boxed.rs
+++ b/src/liballoc/boxed.rs
@@ -81,7 +81,7 @@ use core::raw::{TraitObject};
 #[lang = "exchange_heap"]
 #[unstable(feature = "alloc",
            reason = "may be renamed; uncertain about custom allocator design")]
-pub static HEAP: () = ();
+pub const HEAP: () = ();
 
 /// A pointer type for heap allocation.
 ///