This website requires JavaScript.
Explore
Help
Sign In
Mirrors
/
rust-clippy
Watch
2
Star
0
Fork
You've already forked rust-clippy
0
mirror of
https://github.com/rust-lang/rust-clippy
synced
2024-11-24 13:43:17 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
666e2f2868
rust-clippy
/
tests
/
ui
/
renamed_builtin_attr.rs
5 lines
101 B
Rust
Raw
Normal View
History
Unescape
Escape
Show duplicate diagnostics in UI tests by default
2024-02-28 13:17:14 +00:00
//@compile-flags: -Zdeduplicate-diagnostics=yes
Renamed: Cyclomatic Complexity -> Cognitive Complexity * 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-23 01:19:50 +00:00
#[
clippy::cyclomatic_complexity =
"
1
"
]
fn
main
(
)
{
}
Reference in a new issue
Copy permalink