@@ -498,8 +498,7 @@ impl core::fmt::Display for MissingGenesisError {
498498 }
499499}
500500
501- #[ cfg( feature = "std" ) ]
502- impl std:: error:: Error for MissingGenesisError { }
501+ impl core:: error:: Error for MissingGenesisError { }
503502
504503/// Represents a failure when trying to insert/remove a checkpoint to/from [`LocalChain`].
505504#[ derive( Clone , Debug , PartialEq ) ]
@@ -529,8 +528,7 @@ impl core::fmt::Display for AlterCheckPointError {
529528 }
530529}
531530
532- #[ cfg( feature = "std" ) ]
533- impl std:: error:: Error for AlterCheckPointError { }
531+ impl core:: error:: Error for AlterCheckPointError { }
534532
535533/// Occurs when an update does not have a common checkpoint with the original chain.
536534#[ derive( Clone , Debug , PartialEq ) ]
@@ -549,8 +547,7 @@ impl core::fmt::Display for CannotConnectError {
549547 }
550548}
551549
552- #[ cfg( feature = "std" ) ]
553- impl std:: error:: Error for CannotConnectError { }
550+ impl core:: error:: Error for CannotConnectError { }
554551
555552/// The error type for [`LocalChain::apply_header_connected_to`].
556553#[ derive( Debug , Clone , PartialEq ) ]
@@ -573,8 +570,7 @@ impl core::fmt::Display for ApplyHeaderError {
573570 }
574571}
575572
576- #[ cfg( feature = "std" ) ]
577- impl std:: error:: Error for ApplyHeaderError { }
573+ impl core:: error:: Error for ApplyHeaderError { }
578574
579575/// Applies `update_tip` onto `original_tip`.
580576///
0 commit comments