about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2020-09-10 09:40:40 +0200
committerMara Bos <m-ou.se@m-ou.se>2020-09-11 13:36:15 +0200
commitcf8e5d1bc969987aba074bd7f4b01565badca434 (patch)
tree9d4c788af259110201942bf1dc25577093d9b7be /library/std/src
parentf6fbf669ab0c47034afe53103da7706a593480b9 (diff)
downloadrust-cf8e5d1bc969987aba074bd7f4b01565badca434.tar.gz
rust-cf8e5d1bc969987aba074bd7f4b01565badca434.zip
Mark Error impl for LayoutErr as stable.
This impl was effectively stable. #[unstable] had no effect here,
since both Error and LayoutErr were already stable.

This effectively became stable as soon as LayoutErr became stable, which
was in 1.28.0.
Diffstat (limited to 'library/std/src')
-rw-r--r--library/std/src/error.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/library/std/src/error.rs b/library/std/src/error.rs
index 8da03343976..ee25311d3b7 100644
--- a/library/std/src/error.rs
+++ b/library/std/src/error.rs
@@ -389,11 +389,7 @@ impl Error for ! {}
 )]
 impl Error for AllocErr {}
 
-#[unstable(
-    feature = "allocator_api",
-    reason = "the precise API and guarantees it provides may be tweaked.",
-    issue = "32838"
-)]
+#[stable(feature = "alloc_layout", since = "1.28.0")]
 impl Error for LayoutErr {}
 
 #[stable(feature = "rust1", since = "1.0.0")]