]> git.lizzy.rs Git - rust.git/blobdiff - clippy_tests/examples/eta.stderr
Fix the test suite after cargo update
[rust.git] / clippy_tests / examples / eta.stderr
index 938a7ad5b78301353728ad081f57388dc5c02f60..10d6c4921ca8973877468111ac5b7c6c4dcc209e 100644 (file)
@@ -1,5 +1,5 @@
 error: redundant closure found
- --> examples/eta.rs:7:27
+ --> eta.rs:7:27
   |
 7 |     let a = Some(1u8).map(|a| foo(a));
   |                           ^^^^^^^^^^ help: remove closure as shown: `foo`
@@ -7,7 +7,7 @@ error: redundant closure found
   = note: `-D redundant-closure` implied by `-D warnings`
 
 error: redundant closure found
- --> examples/eta.rs:8:10
+ --> eta.rs:8:10
   |
 8 |     meta(|a| foo(a));
   |          ^^^^^^^^^^ help: remove closure as shown: `foo`
@@ -15,7 +15,7 @@ error: redundant closure found
   = note: `-D redundant-closure` implied by `-D warnings`
 
 error: redundant closure found
- --> examples/eta.rs:9:27
+ --> eta.rs:9:27
   |
 9 |     let c = Some(1u8).map(|a| {1+2; foo}(a));
   |                           ^^^^^^^^^^^^^^^^^ help: remove closure as shown: `{1+2; foo}`
@@ -23,7 +23,7 @@ error: redundant closure found
   = note: `-D redundant-closure` implied by `-D warnings`
 
 error: this expression borrows a reference that is immediately dereferenced by the compiler
-  --> examples/eta.rs:11:21
+  --> eta.rs:11:21
    |
 11 |     all(&[1, 2, 3], &&2, |x, y| below(x, y)); //is adjusted
    |                     ^^^
@@ -31,15 +31,14 @@ error: this expression borrows a reference that is immediately dereferenced by t
    = note: `-D needless-borrow` implied by `-D warnings`
 
 error: redundant closure found
-  --> examples/eta.rs:18:27
+  --> eta.rs:18:27
    |
 18 |     let e = Some(1u8).map(|a| generic(a));
    |                           ^^^^^^^^^^^^^^ help: remove closure as shown: `generic`
    |
    = note: `-D redundant-closure` implied by `-D warnings`
 
-error: aborting due to 5 previous errors
+error: aborting due to previous error(s)
 
-error: Could not compile `clippy_tests`.
 
 To learn more, run the command again with --verbose.