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
98e2b9f25b
rust-clippy
/
tests
/
ui
/
unknown_attribute.rs
4 lines
70 B
Rust
Raw
Normal View
History
Unescape
Escape
Add test for unknown Clippy attributes
2019-02-28 15:47:00 +00:00
#[
clippy::unknown
]
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::cognitive_complexity =
"
1
"
]
Add test for unknown Clippy attributes
2019-02-28 15:47:00 +00:00
fn
main
(
)
{
}
Reference in a new issue
Copy permalink