mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 15:14:29 +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() {}
|