File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -395,7 +395,7 @@ impl Layout {
395
395
#[ stable( feature = "alloc_layout" , since = "1.28.0" ) ]
396
396
#[ rustc_deprecated(
397
397
since = "1.51.0" ,
398
- reason = "use LayoutError instead " ,
398
+ reason = "Name does not follow std convention, use LayoutError" ,
399
399
suggestion = "LayoutError"
400
400
) ]
401
401
pub type LayoutErr = LayoutError ;
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ pub use self::layout::Layout;
12
12
#[ stable( feature = "alloc_layout" , since = "1.28.0" ) ]
13
13
#[ rustc_deprecated(
14
14
since = "1.51.0" ,
15
- reason = "use LayoutError instead " ,
15
+ reason = "Name does not follow std convention, use LayoutError" ,
16
16
suggestion = "LayoutError"
17
17
) ]
18
18
#[ allow( deprecated, deprecated_in_future) ]
You can’t perform that action at this time.
0 commit comments