2017-05-17 07:19:44 -05:00
|
|
|
error: sub-expression diverges
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/diverging_sub_expression.rs:18:10
|
2017-05-17 07:19:44 -05:00
|
|
|
|
|
|
|
|
18 | b || diverge();
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D diverging-sub-expression` implied by `-D warnings`
|
|
|
|
|
|
|
|
error: sub-expression diverges
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/diverging_sub_expression.rs:19:10
|
2017-05-17 07:19:44 -05:00
|
|
|
|
|
|
|
|
19 | b || A.foo();
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
error: sub-expression diverges
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/diverging_sub_expression.rs:28:26
|
2017-05-17 07:19:44 -05:00
|
|
|
|
|
|
|
|
28 | 6 => true || return,
|
|
|
|
| ^^^^^^
|
|
|
|
|
|
|
|
error: sub-expression diverges
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/diverging_sub_expression.rs:29:26
|
2017-05-17 07:19:44 -05:00
|
|
|
|
|
|
|
|
29 | 7 => true || continue,
|
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
error: sub-expression diverges
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/diverging_sub_expression.rs:32:26
|
2017-05-17 07:19:44 -05:00
|
|
|
|
|
|
|
|
32 | 3 => true || diverge(),
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
error: sub-expression diverges
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/diverging_sub_expression.rs:37:26
|
2017-05-17 07:19:44 -05:00
|
|
|
|
|
|
|
|
37 | _ => true || break,
|
|
|
|
| ^^^^^
|
|
|
|
|
2017-07-02 23:37:30 -05:00
|
|
|
error: aborting due to 6 previous errors
|
2017-05-17 07:19:44 -05:00
|
|
|
|