Warn against lints that do not appear in `lib.rs` or `lints.rs`
chriscerie opened this issue · comments
A test for this would prevent issues like in #513.
Forgetting to add a new lint in lints.rs
is unlikely as you wouldn't be able to run tests for it otherwise, but adding it to lib.rs
is easier to forget.