We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In addition to https://github.com/Manishearth/rust-clippy/issues/879 I'd love to have a lint that enforces my header statements (extern crate …, mod …, use …, …) to be cleanly grouped.
extern crate …
mod …
use …
So that this would trigger a warning:
mod …; use std::…; mod …;
While this wouldn't:
mod …; mod …; use std::…;
Nor would this:
use std::…; mod …; mod …;
Bonus points for warning on missing/excessive newlines between groups.
The text was updated successfully, but these errors were encountered:
This is would probably be a candidate for pedantic.
pedantic
Sorry, something went wrong.
Probably another candidate for rustfmt. Oh well. Sorry for spamming (#879, #880, #881). 😇 😞
No problem. We're just pushing back because we think your time is better spent with other lints. 😄
😘
No branches or pull requests
In addition to https://github.com/Manishearth/rust-clippy/issues/879 I'd love to have a lint that enforces my header statements (
extern crate …
,mod …
,use …
, …) to be cleanly grouped.So that this would trigger a warning:
While this wouldn't:
Nor would this:
Bonus points for warning on missing/excessive newlines between groups.
The text was updated successfully, but these errors were encountered: