I’ve had a pull request open for quite some time now that adds ‘umbrella lints’, or lint groups, to the compiler. I’m posting this here because this is quite a significant addition to how lints work, and I (and the devs) want some feedback about it, but it’s not really RFC-worthy (probably) and is completely backwards-compatible. (There are some backwards-incompatible changes in my PR but those are largely unrelated.) Basically what this is is a way of having one lint that actually controls multiple lints. For example, my PR adds a built-in
bad_style lint group that covers all of the existing style lints. This makes toggling on/off style checks significantly easier—instead of having to explictly
#[allow] each and every style lint, one can just use
#[allow(bad_style)] to turn off all style-related lints.
If anyone has any suggestions/objections, please let me know! (Particularly, any suggestions for a better name for the
bad_style lint group would be appreciated.)