mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 23:20:39 +00:00
18 lines
560 B
Rust
18 lines
560 B
Rust
// run-rustfix
|
|
|
|
#![warn(clippy::pedantic)]
|
|
// Should suggest lowercase
|
|
#![allow(clippy::All)]
|
|
#![warn(clippy::CMP_NAN)]
|
|
|
|
// Should suggest similar clippy lint name
|
|
#[warn(clippy::if_not_els)]
|
|
#[warn(clippy::UNNecsaRy_cAst)]
|
|
#[warn(clippy::useles_transute)]
|
|
// Shouldn't suggest rustc lint name(`dead_code`)
|
|
#[warn(clippy::dead_cod)]
|
|
// Shouldn't suggest removed/deprecated clippy lint name(`unused_collect`)
|
|
#[warn(clippy::unused_colle)]
|
|
// Shouldn't suggest renamed clippy lint name(`const_static_lifetime`)
|
|
#[warn(clippy::const_static_lifetim)]
|
|
fn main() {}
|