Skip to content

Commit

Permalink
Revert "Delete broken #[deprecated] test"
Browse files Browse the repository at this point in the history
This reverts commit 8862629.
  • Loading branch information
dtolnay committed Aug 31, 2022
1 parent fdb266a commit 8adf113
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 8adf113

Please sign in to comment.