rust/tests/ui-toml/functions_maxlines/test.stderr
Ryan1729 9e7ce9d385 run the specific script suggested by the error message
```
./tests/ui-toml/update-references.sh './target/debug/test_build_base' 'functions_maxlines/test.rs'
```
2020-09-04 21:12:16 -06:00

24 lines
582 B
Plaintext

error: this function has too many lines (2/1)
--> $DIR/test.rs:18:1
|
LL | / fn too_many_lines() {
LL | | println!("This is bad.");
LL | | println!("This is bad.");
LL | | }
| |_^
|
= note: `-D clippy::too-many-lines` implied by `-D warnings`
error: this function has too many lines (2/1)
--> $DIR/test.rs:38:1
|
LL | / fn comment_before_code() {
LL | | let _ = "test";
LL | | /* This comment extends to the front of
LL | | the code but this line should still count. */ let _ = 5;
LL | | }
| |_^
error: aborting due to 2 previous errors