Skip to content

Commit

Permalink
Merge pull request #183 from dtolnay/deprecated
Browse files Browse the repository at this point in the history
Re-enable deprecated variants test.
  • Loading branch information
dtolnay authored Aug 31, 2022
2 parents fdb266a + 8adf113 commit 63420ea
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/test_deprecated.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#![deny(deprecated, clippy::all, clippy::pedantic)]

use thiserror::Error;

#[derive(Error, Debug)]
pub enum Error {
#[deprecated]
#[error("...")]
Deprecated,
}

0 comments on commit 63420ea

Please sign in to comment.