mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 00:03:43 +00:00
19 lines
571 B
Rust
19 lines
571 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_else)]
|
|
#[warn(clippy::unnecessary_cast)]
|
|
#[warn(clippy::useless_transmute)]
|
|
// Shouldn't suggest rustc lint name(`dead_code`)
|
|
#[warn(clippy::drop_copy)]
|
|
// 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)]
|
|
fn main() {}
|