This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
9427e0356b
rust
/
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 09:47:00 -06: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-22 19:19:50 -06:00
#[
clippy::cognitive_complexity =
"
1
"
]
Add test for unknown Clippy attributes
2019-02-28 09:47:00 -06:00
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink