2019-01-14 20:38:15 -06:00
|
|
|
#![warn(clippy::too_many_lines)]
|
2019-01-13 16:53:56 -06: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-07-28 14:35:48 -05:00
|
|
|
//~^ ERROR: this function has too many lines (102/100)
|
|
|
|
//~| NOTE: `-D clippy::too-many-lines` implied by `-D warnings`
|
2019-09-02 23:25:54 -05:00
|
|
|
println!("Dont get confused by braces: {{}}");
|
2019-01-13 16:53:56 -06: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() {}
|