Skip to content

Commit cf8e5d1

Browse files
committed
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.
1 parent f6fbf66 commit cf8e5d1

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

library/std/src/error.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -389,11 +389,7 @@ impl Error for ! {}
389389
)]
390390
impl Error for AllocErr {}
391391

392-
#[unstable(
393-
feature = "allocator_api",
394-
reason = "the precise API and guarantees it provides may be tweaked.",
395-
issue = "32838"
396-
)]
392+
#[stable(feature = "alloc_layout", since = "1.28.0")]
397393
impl Error for LayoutErr {}
398394

399395
#[stable(feature = "rust1", since = "1.0.0")]

0 commit comments

Comments
 (0)