Further clean up tests/ui/rename.rs
Now it is just a collection of lints + an empty main function
This commit is contained in:
parent
d0c04b4d78
commit
6c89c00a98
3 changed files with 50 additions and 58 deletions
|
|
@ -30,6 +30,9 @@
|
|||
#![allow(invalid_atomic_ordering)]
|
||||
#![allow(enum_intrinsics_non_enums)]
|
||||
// warn for the old lint name here, to test if the renaming worked
|
||||
#![warn(clippy::module_name_repetitions)]
|
||||
#![warn(clippy::new_without_default)]
|
||||
#![warn(clippy::redundant_static_lifetimes)]
|
||||
#![warn(clippy::cognitive_complexity)]
|
||||
#![warn(enum_intrinsics_non_enums)]
|
||||
#![warn(clippy::bind_instead_of_map)]
|
||||
|
|
@ -58,11 +61,4 @@
|
|||
#![warn(invalid_atomic_ordering)]
|
||||
#![warn(enum_intrinsics_non_enums)]
|
||||
|
||||
#[warn(clippy::module_name_repetitions)]
|
||||
fn main() {}
|
||||
|
||||
#[warn(clippy::new_without_default)]
|
||||
struct Foo;
|
||||
|
||||
#[warn(clippy::redundant_static_lifetimes)]
|
||||
fn foo() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue