mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-14 17:07:17 +00:00
c2c73189c8
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
17 lines
438 B
Text
17 lines
438 B
Text
error: this function has too many lines (102/100)
|
|
--> $DIR/functions_maxlines.rs:58:1
|
|
|
|
|
LL | / fn bad_lines() {
|
|
LL | |
|
|
LL | |
|
|
LL | | println!("Dont get confused by braces: {{}}");
|
|
... |
|
|
LL | | println!("This is bad.");
|
|
LL | | }
|
|
| |_^
|
|
|
|
|
= note: `-D clippy::too-many-lines` implied by `-D warnings`
|
|
= help: to override `-D warnings` add `#[allow(clippy::too_many_lines)]`
|
|
|
|
error: aborting due to 1 previous error
|
|
|