mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 23:20:39 +00:00
0ae1a69330
Fixes #4364
163 lines
4.7 KiB
Rust
163 lines
4.7 KiB
Rust
#![warn(clippy::too_many_lines)]
|
|
|
|
fn good_lines() {
|
|
/* println!("This is good."); */
|
|
// println!("This is good.");
|
|
/* */ // println!("This is good.");
|
|
/* */ // println!("This is good.");
|
|
/* */ // println!("This is good.");
|
|
/* */ // println!("This is good.");
|
|
/* println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good."); */
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
println!("This is good.");
|
|
}
|
|
|
|
fn bad_lines() {
|
|
println!("Dont get confused by braces: {{}}");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
println!("This is bad.");
|
|
}
|
|
|
|
fn main() {}
|