mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-08 21:13:55 +00:00
Change layouterr deprecation message
This commit is contained in:
parent
0266c134a7
commit
8ff0c14dc5
@ -395,7 +395,7 @@ impl Layout {
|
||||
#[stable(feature = "alloc_layout", since = "1.28.0")]
|
||||
#[rustc_deprecated(
|
||||
since = "1.51.0",
|
||||
reason = "use LayoutError instead",
|
||||
reason = "Name does not follow std convention, use LayoutError",
|
||||
suggestion = "LayoutError"
|
||||
)]
|
||||
pub type LayoutErr = LayoutError;
|
||||
|
@ -12,7 +12,7 @@ pub use self::layout::Layout;
|
||||
#[stable(feature = "alloc_layout", since = "1.28.0")]
|
||||
#[rustc_deprecated(
|
||||
since = "1.51.0",
|
||||
reason = "use LayoutError instead",
|
||||
reason = "Name does not follow std convention, use LayoutError",
|
||||
suggestion = "LayoutError"
|
||||
)]
|
||||
#[allow(deprecated, deprecated_in_future)]
|
||||
|
Loading…
Reference in New Issue
Block a user