rust/clippy_lints
Philipp Hansch d3d3d7d7be
Lint multiline attributes properly
This makes it so that the `empty_line_after_outer_attribute` lint only
checks for newlines between the end of the attribute and the beginning
of the following item.

We need to check for the empty line count being bigger than 2 because
now the snippet of valid code contains only `\n` and splitting it
produces `["", ""]`
Invalid code will contain more than 2 empty strings.
2018-02-21 21:29:05 +01:00
..
2018-02-21 21:29:05 +01:00
2018-02-05 08:48:40 +01:00
2017-12-15 00:33:23 +02:00

This crate contains Clippy lints. For the main crate, check crates.io or GitHub.