Skip to content

Commit c6d598b

Browse files
committed
allow deprecated Error::description
1 parent 180345a commit c6d598b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1475,6 +1475,7 @@ impl<E> ParseComplexError<E> {
14751475

14761476
#[cfg(feature = "std")]
14771477
impl<E: Error> Error for ParseComplexError<E> {
1478+
#[allow(deprecated)]
14781479
fn description(&self) -> &str {
14791480
match self.kind {
14801481
ComplexErrorKind::ParseError(ref e) => e.description(),

0 commit comments

Comments
 (0)