about summary refs log tree commit diff
path: root/clippy_lints/src/utils/attrs.rs
AgeCommit message (Collapse)AuthorLines
2019-12-31Rustup to rust-lang/rust#67707Yuki Okushi-1/+1
2019-11-07Rustup to rustc 1.40.0-nightly (7a76fe76f 2019-11-07)Manish Goregaokar-0/+5
2019-10-18Omit proc macros from `must_use_candidate`Andre Bogus-0/+13
2019-10-16Dogfood for `inefficient_to_string`HMPerson1-1/+1
2019-10-14new lints around `#[must_use]` fnsAndre Bogus-0/+1
`must_use_unit` lints unit-returning functions with a `#[must_use]` attribute, suggesting to remove it. `double_must_use` lints functions with a plain `#[must_use]` attribute, but which return a type which is already `#[must_use]`, so the attribute has no benefit. `must_use_candidate` is a pedantic lint that lints functions and methods that return some non-unit type that is not already `#[must_use]` and suggests to add the annotation.
2019-04-30Update find(p).map(p) occurrences to use find_map(p)André Luis Leal Cardoso Junior-4/+10
2019-03-06Renamed: Cyclomatic Complexity -> Cognitive ComplexityFélix Fischer-1/+5
* Ran automatic naming update * Formalized rename of `cyclomatic_complexity` to `cognitive_complexity` ** Added the rename to `lib.rs` ** Added rename test * Added warning for deprecated key `cyclomatic_complexity_threshold` and tests for it * Added deprecation status for Clippy's builtin attribute * Updated tests for new builtin attribute renaming
2019-02-28Error an unknown or deprecated Clippy attributeflip1995-0/+105