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