Oops I didn't explain clearly. Take this code:
pub fn abc() -> usize {
#[allow(deprecated)]
"abc".len()
}
I want it to complain about the "allow", because there was never any deprecated warning emitted in the first place. Maybe it would be called #[expect(deprecated)]I refactor code all the time and find these stray "allow"s that aren't doing anything anymore