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