1
Fork 0

Rename LayoutErr to LayoutError outside of core

This commit is contained in:
Jacob Hughes 2020-09-24 23:48:26 -04:00
parent a97abb40ab
commit bf0adc3c36
3 changed files with 7 additions and 7 deletions

View file

@ -19,7 +19,7 @@ mod tests;
use core::array;
use core::convert::Infallible;
use crate::alloc::{AllocError, LayoutErr};
use crate::alloc::{AllocError, LayoutError};
use crate::any::TypeId;
use crate::backtrace::Backtrace;
use crate::borrow::Cow;
@ -390,7 +390,7 @@ impl Error for ! {}
impl Error for AllocError {}
#[stable(feature = "alloc_layout", since = "1.28.0")]
impl Error for LayoutErr {}
impl Error for LayoutError {}
#[stable(feature = "rust1", since = "1.0.0")]
impl Error for str::ParseBoolError {