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.
This commit is contained in:
Mara Bos 2020-09-10 09:40:40 +02:00
parent f6fbf669ab
commit cf8e5d1bc9

View File

@ -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")]