2019-12-27 12:41:26 +01:00
|
|
|
// run-rustfix
|
|
|
|
|
2018-09-10 17:21:50 +02:00
|
|
|
#![warn(clippy::pedantic)]
|
2019-12-27 12:41:26 +01:00
|
|
|
// Should suggest lowercase
|
|
|
|
#![allow(clippy::All)]
|
|
|
|
#![warn(clippy::CMP_NAN)]
|
2018-09-10 17:21:50 +02:00
|
|
|
|
2019-12-27 12:41:26 +01:00
|
|
|
// Should suggest similar clippy lint name
|
2018-09-10 17:21:50 +02:00
|
|
|
#[warn(clippy::if_not_els)]
|
2019-12-27 12:41:26 +01:00
|
|
|
#[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)]
|
2018-12-09 23:26:16 +01:00
|
|
|
fn main() {}
|