about summary refs log tree commit diff
path: root/tests/ui/cognitive_complexity.rs
AgeCommit message (Collapse)AuthorLines
2019-12-21Reduce cognitive complexity lint spanKrishna Veera Reddy-0/+22
Currently the cognitive complexity lint spans the entire function body making it really difficult to read and refactor the code in editors. To fix this we reduce the lint span to the function name.
2019-09-08Remove use of the HIR CFGMatthew Jasper-20/+22
2019-08-15Rustup to rust-lang/rust#62672flip1995-8/+8
try macro is deprecated now, so Clippy will drop the support for it also
2019-07-23Fix tests for edition 2018 compatibilityuHOOCCOOHu-9/+9
2019-03-06Renamed: Cyclomatic Complexity -> Cognitive ComplexityFélix Fischer-0/+371
* 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