]> git.lizzy.rs Git - rust.git/commitdiff
run the specific script suggested by the error message
authorRyan1729 <Ryan1729@gmail.com>
Sat, 5 Sep 2020 03:12:16 +0000 (21:12 -0600)
committerRyan1729 <Ryan1729@gmail.com>
Sat, 5 Sep 2020 03:12:16 +0000 (21:12 -0600)
```
./tests/ui-toml/update-references.sh './target/debug/test_build_base' 'functions_maxlines/test.rs'
```

tests/ui-toml/functions_maxlines/test.stderr

index fb12257021a1e7e0f0751c65c233392c0d8572fa..a27ce945ca58461cc08fef154aef3ba7c3cc7f23 100644 (file)
@@ -1,4 +1,4 @@
-error: this function has a large number of lines
+error: this function has too many lines (2/1)
   --> $DIR/test.rs:18:1
    |
 LL | / fn too_many_lines() {
@@ -9,7 +9,7 @@ LL | | }
    |
    = note: `-D clippy::too-many-lines` implied by `-D warnings`
 
-error: this function has a large number of lines
+error: this function has too many lines (2/1)
   --> $DIR/test.rs:38:1
    |
 LL | / fn comment_before_code() {