Revert "Delete broken #[deprecated] test"

This reverts commit 8862629bcc.
This commit is contained in:
David Tolnay 2022-08-30 19:14:00 -07:00
parent fdb266af29
commit 8adf113f0a
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
1 changed files with 10 additions and 0 deletions

10
tests/test_deprecated.rs Normal file
View File

@ -0,0 +1,10 @@
#![deny(deprecated, clippy::all, clippy::pedantic)]
use thiserror::Error;
#[derive(Error, Debug)]
pub enum Error {
#[deprecated]
#[error("...")]
Deprecated,
}