2019-12-27 05:41:26 -06:00
|
|
|
#![warn(clippy::pedantic)]
|
|
|
|
// Should suggest lowercase
|
|
|
|
#![allow(clippy::all)]
|
2023-05-21 05:12:12 -05:00
|
|
|
#![warn(clippy::cmp_owned)]
|
2019-12-27 05:41:26 -06:00
|
|
|
|
|
|
|
// Should suggest similar clippy lint name
|
|
|
|
#[warn(clippy::if_not_else)]
|
|
|
|
#[warn(clippy::unnecessary_cast)]
|
|
|
|
#[warn(clippy::useless_transmute)]
|
2024-01-10 10:24:46 -06:00
|
|
|
// Should suggest rustc lint name(`dead_code`)
|
|
|
|
#[warn(dead_code)]
|
2019-12-27 05:41:26 -06:00
|
|
|
// Shouldn't suggest removed/deprecated clippy lint name(`unused_collect`)
|
|
|
|
#[warn(clippy::unused_self)]
|
|
|
|
// Shouldn't suggest renamed clippy lint name(`const_static_lifetime`)
|
|
|
|
#[warn(clippy::redundant_static_lifetimes)]
|
2024-01-10 10:24:46 -06:00
|
|
|
// issue #118183, should report `missing_docs` from rustc lint
|
|
|
|
#[warn(missing_docs)]
|
2019-12-27 05:41:26 -06:00
|
|
|
fn main() {}
|