We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0266c13 commit 8ff0c14Copy full SHA for 8ff0c14
library/core/src/alloc/layout.rs
@@ -395,7 +395,7 @@ impl Layout {
395
#[stable(feature = "alloc_layout", since = "1.28.0")]
396
#[rustc_deprecated(
397
since = "1.51.0",
398
- reason = "use LayoutError instead",
+ reason = "Name does not follow std convention, use LayoutError",
399
suggestion = "LayoutError"
400
)]
401
pub type LayoutErr = LayoutError;
library/core/src/alloc/mod.rs
@@ -12,7 +12,7 @@ pub use self::layout::Layout;
12
13
14
15
16
17
18
#[allow(deprecated, deprecated_in_future)]
0 commit comments