]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui-toml/functions_maxlines/test.stderr
Auto merge of #76378 - petrochenkov:lldtest, r=Mark-Simulacrum
[rust.git] / src / tools / clippy / tests / ui-toml / functions_maxlines / test.stderr
1 error: this function has a large number of lines
2   --> $DIR/test.rs:18:1
3    |
4 LL | / fn too_many_lines() {
5 LL | |     println!("This is bad.");
6 LL | |     println!("This is bad.");
7 LL | | }
8    | |_^
9    |
10    = note: `-D clippy::too-many-lines` implied by `-D warnings`
11
12 error: this function has a large number of lines
13   --> $DIR/test.rs:38:1
14    |
15 LL | / fn comment_before_code() {
16 LL | |     let _ = "test";
17 LL | |     /* This comment extends to the front of
18 LL | |     the code but this line should still count. */ let _ = 5;
19 LL | | }
20    | |_^
21
22 error: aborting due to 2 previous errors
23