Module pedantic

Source
Expand description

Lints that make the linter a nit-picky perfectionist.

Unlike other lint groups, pedantic lints have limited value and may not always apply. Be sure to read the motivation behind each lint in this category before enabling them, and expect to liberally apply #[allow(...)] attributes throughout your code if you do use them.

These lints are allow by default.

Modulesยง

borrowed_reborrowable
Checks for function parameters that take a mutable reference to a re-borrowable type.
main_return_without_appexit
Checks for fn main() entrypoints that call App::run() but do not return AppExit.