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
55740219b0203fadefc1513ffe393a69a04b66b2
rust/tests/ui/rename.rs

15 lines
210 B
Rust
Raw Normal View History

Add renaming tests
2018-12-17 13:59:09 +01:00
#![allow(stutter)]
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
#![warn(clippy::cyclomatic_complexity)]
Add renaming tests
2018-12-17 13:59:09 +01:00
#[warn(clippy::stutter)]
fn main() {}
Merge new_without_default_derive into new_without_default
2018-12-17 16:25:49 -07:00
#[warn(clippy::new_without_default_derive)]
struct Foo;
impl Foo {
fn new() -> Self {
Foo
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 340ms 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