Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
f96eb611f8eb74fb865b51bf88683267c6885375
rust/tests/ui/unknown_attribute.rs

7 lines
158 B
Rust
Raw Normal View History

Merge commit '93f0a9a91f58c9b2153868f458402155fb6265bb' into clippy-subtree-update
2024-03-07 17:19:29 +01:00
//@compile-flags: -Zdeduplicate-diagnostics=yes
Add test for unknown Clippy attributes
2019-02-28 16:47:00 +01:00
#[clippy::unknown]
Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup
2023-08-24 21:32:12 +02:00
//~^ ERROR: usage of unknown attribute
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 22:19:50 -03:00
#[clippy::cognitive_complexity = "1"]
Add test for unknown Clippy attributes
2019-02-28 16:47:00 +01:00
fn main() {}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 491ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API