Skip to content

Commit 738aa2b

Browse files
committed
Only implement Error if std feature is enabled.
This should rightfully have been caught by the CI in the original PR, but alas it was not. My bad for not seeing it manually. See rust-lang/rust#53166 for issue on this kind of mistake not causing an error like it used to.
1 parent b4d3c24 commit 738aa2b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,7 @@ where
588588
}
589589
}
590590

591+
#[cfg(feature = "std")]
591592
impl<E> std::error::Error for Error<E>
592593
where
593594
E: std::error::Error

0 commit comments

Comments
 (0)