2020-09-10 17:47:07 +02:00
|
|
|
error: this function has too many lines (102/100)
|
2024-02-27 15:25:18 +01:00
|
|
|
--> tests/ui/functions_maxlines.rs:58:1
|
2019-01-13 17:53:56 -05:00
|
|
|
|
|
|
|
|
LL | / fn bad_lines() {
|
2023-08-24 21:32:12 +02:00
|
|
|
LL | |
|
|
|
|
LL | |
|
2019-09-03 06:25:54 +02:00
|
|
|
LL | | println!("Dont get confused by braces: {{}}");
|
2019-01-13 17:53:56 -05:00
|
|
|
... |
|
|
|
|
LL | | println!("This is bad.");
|
|
|
|
LL | | }
|
|
|
|
| |_^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::too-many-lines` implied by `-D warnings`
|
2023-08-01 14:02:21 +02:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::too_many_lines)]`
|
2019-01-13 17:53:56 -05:00
|
|
|
|
2023-11-21 17:08:42 +00:00
|
|
|
error: aborting due to 1 previous error
|
2019-01-13 17:53:56 -05:00
|
|
|
|