mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
44 lines
1.5 KiB
Rust
44 lines
1.5 KiB
Rust
#![allow(unused)]
|
|
#![allow(clippy::identity_op)]
|
|
#![warn(clippy::excessive_width)]
|
|
|
|
#[rustfmt::skip]
|
|
fn main() {
|
|
let x = 1;
|
|
|
|
let really_long_binding_name_because_this_needs_to_be_over_90_characters_long = 1usize * 200 / 2 * 500 / 1;
|
|
|
|
{
|
|
{
|
|
{
|
|
{
|
|
{
|
|
{
|
|
{
|
|
{
|
|
{
|
|
{
|
|
{
|
|
{
|
|
{
|
|
{
|
|
{
|
|
{
|
|
println!("highly indented lines do not cause a warning (by default)!")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|