rust/tests/ui/functions_maxlines.stderr

17 lines
420 B
Plaintext
Raw Normal View History

error: This function has a large number of lines.
2019-01-15 03:32:12 +00:00
--> $DIR/functions_maxlines.rs:58:1
|
LL | / fn bad_lines() {
LL | | println!("Dont get confused by braces: {{}}");
LL | | println!("This is bad.");
LL | | println!("This is bad.");
... |
LL | | println!("This is bad.");
LL | | }
| |_^
|
= note: `-D clippy::too-many-lines` implied by `-D warnings`
error: aborting due to previous error