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:
parent
f6fbf669ab
commit
cf8e5d1bc9
1 changed files with 1 additions and 5 deletions
|
@ -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")]
|
||||
|
|
Loading…
Add table
Reference in a new issue