Closed
Description
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:
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.
Metadata
Metadata
Assignees
Labels
No labels