Compiler Lints and Clippy
The Rust compiler produces fantastic error messages, as well as helpful built-in lints. Clippy provides even more lints, organized into groups that can be enabled per-project.
Speaker Notes
This slide should take about 3 minutes.
There are compiler lints visible here, but not clippy lints. Run clippy
on the
playground site to show clippy warnings. Clippy has extensive documentation of
its lints, and adds new lints (including default-deny lints) all the time.
Note that errors or warnings with help: ...
can be fixed with cargo fix
or
via your editor.