1error: unsequenced read of `x` 2 --> $DIR/eval_order_dependence.rs:14:9 3 | 4LL | } + x; 5 | ^ 6 | 7 = note: `-D clippy::eval-order-dependence` implied by `-D warnings` 8note: whether read occurs before this write depends on evaluation order 9 --> $DIR/eval_order_dependence.rs:12:9 10 | 11LL | x = 1; 12 | ^^^^^ 13 14error: unsequenced read of `x` 15 --> $DIR/eval_order_dependence.rs:17:5 16 | 17LL | x += { 18 | ^ 19 | 20note: whether read occurs before this write depends on evaluation order 21 --> $DIR/eval_order_dependence.rs:18:9 22 | 23LL | x = 20; 24 | ^^^^^^ 25 26error: unsequenced read of `x` 27 --> $DIR/eval_order_dependence.rs:30:12 28 | 29LL | a: x, 30 | ^ 31 | 32note: whether read occurs before this write depends on evaluation order 33 --> $DIR/eval_order_dependence.rs:32:13 34 | 35LL | x = 6; 36 | ^^^^^ 37 38error: unsequenced read of `x` 39 --> $DIR/eval_order_dependence.rs:39:9 40 | 41LL | x += { 42 | ^ 43 | 44note: whether read occurs before this write depends on evaluation order 45 --> $DIR/eval_order_dependence.rs:40:13 46 | 47LL | x = 20; 48 | ^^^^^^ 49 50error: aborting due to 4 previous errors 51 52