File tree Expand file tree Collapse file tree 16 files changed +1
-21
lines changed Expand file tree Collapse file tree 16 files changed +1
-21
lines changed Original file line number Diff line number Diff line change 22
33## Changed
44- MSRV increased to 1.81.
5+ - ` core::error::Error ` impls are no longer gated by the ` unstable ` feature.
56
67
78# uefi - 0.33.0 (2024-10-23)
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ impl Display for CharConversionError {
1515 }
1616}
1717
18- #[ cfg( feature = "unstable" ) ]
1918impl core:: error:: Error for CharConversionError { }
2019
2120/// A Latin-1 character
Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ impl Display for FromStrError {
3232 }
3333}
3434
35- #[ cfg( feature = "unstable" ) ]
3635impl core:: error:: Error for FromStrError { }
3736
3837/// An owned UCS-2 null-terminated string.
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ impl Display for FromSliceUntilNulError {
3030 }
3131}
3232
33- #[ cfg( feature = "unstable" ) ]
3433impl core:: error:: Error for FromSliceUntilNulError { }
3534
3635/// Error converting from a slice (which cannot contain interior nuls) to a
@@ -57,7 +56,6 @@ impl Display for FromSliceWithNulError {
5756 }
5857}
5958
60- #[ cfg( feature = "unstable" ) ]
6159impl core:: error:: Error for FromSliceWithNulError { }
6260
6361/// Error returned by [`CStr16::from_unaligned_slice`].
@@ -88,7 +86,6 @@ impl Display for UnalignedCStr16Error {
8886 }
8987}
9088
91- #[ cfg( feature = "unstable" ) ]
9289impl core:: error:: Error for UnalignedCStr16Error { }
9390
9491/// Error returned by [`CStr16::from_str_with_buf`].
@@ -115,7 +112,6 @@ impl Display for FromStrWithBufError {
115112 }
116113}
117114
118- #[ cfg( feature = "unstable" ) ]
119115impl core:: error:: Error for FromStrWithBufError { }
120116
121117/// A null-terminated Latin-1 string.
Original file line number Diff line number Diff line change @@ -94,7 +94,6 @@ impl From<PathError> for Error {
9494 }
9595}
9696
97- #[ cfg( feature = "unstable" ) ]
9897impl core:: error:: Error for Error {
9998 fn source ( & self ) -> Option < & ( dyn core:: error:: Error + ' static ) > {
10099 match self {
@@ -105,7 +104,6 @@ impl core::error::Error for Error {
105104 }
106105}
107106
108- #[ cfg( feature = "unstable" ) ]
109107impl core:: error:: Error for IoError {
110108 fn source ( & self ) -> Option < & ( dyn core:: error:: Error + ' static ) > {
111109 Some ( & self . uefi_error )
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ impl Display for PathError {
3838 }
3939}
4040
41- #[ cfg( feature = "unstable" ) ]
4241impl core:: error:: Error for PathError { }
4342
4443/// Validates a path for the needs of the [`fs`] module.
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ impl Display for MemoryMapError {
2525 }
2626}
2727
28- #[ cfg( feature = "unstable" ) ]
2928impl core:: error:: Error for MemoryMapError { }
3029
3130/// Implementation of [`MemoryMap`] for the given buffer.
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ impl Display for BootPolicyError {
2020 }
2121}
2222
23- #[ cfg( feature = "unstable" ) ]
2423impl core:: error:: Error for BootPolicyError { }
2524
2625/// The UEFI boot policy is a property that influences the behaviour of
Original file line number Diff line number Diff line change @@ -189,7 +189,6 @@ impl Display for BuildError {
189189 }
190190}
191191
192- #[ cfg( feature = "unstable" ) ]
193192impl core:: error:: Error for BuildError { }
194193
195194/// Trait for types that can be used to build a node via
Original file line number Diff line number Diff line change @@ -704,7 +704,6 @@ impl Display for DevicePathToTextError {
704704 }
705705}
706706
707- #[ cfg( feature = "unstable" ) ]
708707impl core:: error:: Error for DevicePathToTextError {
709708 fn source ( & self ) -> Option < & ( dyn core:: error:: Error + ' static ) > {
710709 match self {
You can’t perform that action at this time.
0 commit comments