]> git.proxmox.com Git - rustc.git/blob - src/tools/clippy/tests/ui-toml/functions_maxlines/test.stderr
New upstream version 1.52.1+dfsg1
[rustc.git] / src / tools / clippy / tests / ui-toml / functions_maxlines / test.stderr
1 error: this function has too many lines (2/1)
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 too many lines (2/1)
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