rust/clippy_lints
Philipp Hansch 81f5969704
Partly fix incorrect useless_attribute suggestion
This fixes an incorrect suggestion from the `useless_attribute` lint
when using `cfg_attr`.

Additionally, it will not show a suggestion anymore, if the attribute
begins on a previous line, because it is much harder to construct the
span of multi-line `cfg_attr` attributes as they don't appear in the AST.

To fix it completely, one would have to parse upwards into the file,
and find the beginning of the `cfg_attr` attribute.
2018-02-06 22:35:11 +01:00
..
src Partly fix incorrect useless_attribute suggestion 2018-02-06 22:35:11 +01:00
Cargo.toml Version Bump 2018-02-05 08:48:40 +01:00
README.md Fix crates.io site name 2017-12-15 00:33:23 +02:00

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