]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/copies.stderr
Auto merge of #3603 - xfix:random-state-lint, r=phansch
[rust.git] / tests / ui / copies.stderr
index 4c0bc4b01739b4b6900b0bf6c0f6cc5a3b8911ba..3fbc279b5374515e2e6a5b57bc189fb1ee04d35f 100644 (file)
@@ -351,42 +351,5 @@ LL | |         try!(Ok("foo"));
 LL | |     } else {
    | |_____^
 
-error: this `if` has the same condition as a previous if
-  --> $DIR/copies.rs:358:15
-   |
-LL |     } else if b {
-   |               ^
-   |
-   = note: `-D clippy::ifs-same-cond` implied by `-D warnings`
-note: same as this
-  --> $DIR/copies.rs:357:8
-   |
-LL |     if b {
-   |        ^
-
-error: this `if` has the same condition as a previous if
-  --> $DIR/copies.rs:363:15
-   |
-LL |     } else if a == 1 {
-   |               ^^^^^^
-   |
-note: same as this
-  --> $DIR/copies.rs:362:8
-   |
-LL |     if a == 1 {
-   |        ^^^^^^
-
-error: this `if` has the same condition as a previous if
-  --> $DIR/copies.rs:369:15
-   |
-LL |     } else if 2 * a == 1 {
-   |               ^^^^^^^^^^
-   |
-note: same as this
-  --> $DIR/copies.rs:367:8
-   |
-LL |     if 2 * a == 1 {
-   |        ^^^^^^^^^^
-
-error: aborting due to 20 previous errors
+error: aborting due to 17 previous errors