Skip to content

Commit 49751eb

Browse files
committed
deprecate DecodingError::ReservedBitSet instead of removing it
1 parent da8eca1 commit 49751eb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/decoder.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ quick_error! {
4343
display("Invalid Chunk header: {err:x?}")
4444
}
4545

46+
#[allow(deprecated)]
47+
#[deprecated]
48+
/// Some bits were invalid
49+
ReservedBitSet {
50+
display("Reserved bits set")
51+
}
52+
4653
/// The ALPH chunk preprocessing info flag was invalid
4754
InvalidAlphaPreprocessing {
4855
display("Alpha chunk preprocessing flag invalid")

0 commit comments

Comments
 (0)