This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2024-12-17 02:54:26 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
0e8be599cd
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 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 New Issue
Copy Permalink