about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2018-01-24 22:25:42 +0100
committerSimon Sapin <simon.sapin@exyr.org>2018-01-24 22:25:42 +0100
commit399dcd112725a35352075262863781b3355452cd (patch)
tree9d5985c90a8bde7d3c2ca669714ea5a658ff2db9 /src/liballoc
parentf15c8169327244730f8e68598bf85d288e16fd70 (diff)
downloadrust-399dcd112725a35352075262863781b3355452cd.tar.gz
rust-399dcd112725a35352075262863781b3355452cd.zip
Add missing micro version number component in stability attributes.
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/heap.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/heap.rs b/src/liballoc/heap.rs
index 37af9ea5295..372d606e457 100644
--- a/src/liballoc/heap.rs
+++ b/src/liballoc/heap.rs
@@ -232,7 +232,7 @@ unsafe impl Alloc for Heap {
 ///
 /// This preserves the non-null invariant for types like `Box<T>`. The address
 /// may overlap with non-zero-size memory allocations.
-#[rustc_deprecated(since = "1.19", reason = "Use Unique/NonNull::empty() instead")]
+#[rustc_deprecated(since = "1.19.0", reason = "Use Unique/NonNull::empty() instead")]
 #[unstable(feature = "heap_api", issue = "27700")]
 pub const EMPTY: *mut () = 1 as *mut ();