2017-05-17 12:19:44 +00:00
|
|
|
error: sub-expression diverges
|
2017-05-17 15:51:35 +00:00
|
|
|
--> diverging_sub_expression.rs:18:10
|
2017-05-17 12:19:44 +00:00
|
|
|
|
|
|
|
|
18 | b || diverge();
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D diverging-sub-expression` implied by `-D warnings`
|
|
|
|
|
|
|
|
error: sub-expression diverges
|
2017-05-17 15:51:35 +00:00
|
|
|
--> diverging_sub_expression.rs:19:10
|
2017-05-17 12:19:44 +00:00
|
|
|
|
|
|
|
|
19 | b || A.foo();
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D diverging-sub-expression` implied by `-D warnings`
|
|
|
|
|
|
|
|
error: sub-expression diverges
|
2017-05-17 15:51:35 +00:00
|
|
|
--> diverging_sub_expression.rs:28:26
|
2017-05-17 12:19:44 +00:00
|
|
|
|
|
|
|
|
28 | 6 => true || return,
|
|
|
|
| ^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D diverging-sub-expression` implied by `-D warnings`
|
|
|
|
|
|
|
|
error: sub-expression diverges
|
2017-05-17 15:51:35 +00:00
|
|
|
--> diverging_sub_expression.rs:29:26
|
2017-05-17 12:19:44 +00:00
|
|
|
|
|
|
|
|
29 | 7 => true || continue,
|
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D diverging-sub-expression` implied by `-D warnings`
|
|
|
|
|
|
|
|
error: sub-expression diverges
|
2017-05-17 15:51:35 +00:00
|
|
|
--> diverging_sub_expression.rs:32:26
|
2017-05-17 12:19:44 +00:00
|
|
|
|
|
|
|
|
32 | 3 => true || diverge(),
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D diverging-sub-expression` implied by `-D warnings`
|
|
|
|
|
|
|
|
error: sub-expression diverges
|
2017-05-17 15:51:35 +00:00
|
|
|
--> diverging_sub_expression.rs:37:26
|
2017-05-17 12:19:44 +00:00
|
|
|
|
|
|
|
|
37 | _ => true || break,
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D diverging-sub-expression` implied by `-D warnings`
|
|
|
|
|
2017-05-26 07:21:54 +00:00
|
|
|
error: aborting due to previous error(s)
|
2017-05-17 12:19:44 +00:00
|
|
|
|
|
|
|
error: Could not compile `clippy_tests`.
|
|
|
|
|
|
|
|
To learn more, run the command again with --verbose.
|