test: extend derive_on_deprecated to include more derivations
This commit is contained in:
parent
a32aec021e
commit
e285175b63
1 changed files with 6 additions and 0 deletions
|
@ -6,4 +6,10 @@
|
|||
#[derive(Default)]
|
||||
struct X;
|
||||
|
||||
#[deprecated(note="Do not use this")]
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Default, Hash)]
|
||||
pub struct Step<I> {
|
||||
_skip: Option<I>,
|
||||
}
|
||||
|
||||
fn main() {}
|
||||
|
|
Loading…
Add table
Reference in a new issue