Debian Codegraph @

debian/rust-vendor/thiserror-1.0.69/tests/test_deprecated.rs

raw
1 #![deny(deprecated, clippy::all, clippy::pedantic)]
2
3 use thiserror::Error;
4
5 #[derive(Error, Debug)]
6 pub enum Error {
7 #[deprecated]
8 #[error("...")]
9 Deprecated,
10 }