rustc has the concept of a "lint group", where you can toggle several warnings
through one name.
For example, the
nonstandard-style lint sets
non-upper-case-globals all at once. So these are
$ rustc -D nonstandard-style $ rustc -D non-camel-case-types -D non-snake-case -D non-upper-case-globals
Here's a list of each lint group, and the lints that they are made up of:
Additionally, there's a
bad-style lint group that's a deprecated alias for
Finally, you can also see the table above by invoking
rustc -W help. This will give you the exact values for the specific
compiler you have installed.