2019-01-15 02:38:15 +00:00
|
|
|
#![warn(clippy::too_many_lines)]
|
2019-01-13 22:53:56 +00:00
|
|
|
|
|
|
|
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() {
|
2023-08-24 19:32:12 +00:00
|
|
|
//~^ ERROR: this function has too many lines (102/100)
|
|
|
|
//~| NOTE: `-D clippy::too-many-lines` implied by `-D warnings`
|
2019-09-03 04:25:54 +00:00
|
|
|
println!("Dont get confused by braces: {{}}");
|
2019-01-13 22:53:56 +00:00
|
|
|
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() {}
|