mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-11 22:02:55 +00:00
18 lines
631 B
Rust
18 lines
631 B
Rust
#![warn(clippy::pedantic)]
|
|
// Should suggest lowercase
|
|
#![allow(clippy::all)]
|
|
#![warn(clippy::cmp_owned)]
|
|
|
|
// Should suggest similar clippy lint name
|
|
#[warn(clippy::if_not_else)]
|
|
#[warn(clippy::unnecessary_cast)]
|
|
#[warn(clippy::useless_transmute)]
|
|
// Should suggest rustc lint name(`dead_code`)
|
|
#[warn(dead_code)]
|
|
// 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)]
|
|
// issue #118183, should report `missing_docs` from rustc lint
|
|
#[warn(missing_docs)]
|
|
fn main() {}
|