1 error: Rust has no postfix increment operator
2 --> $DIR/increment-notfixed.rs:11:6
5 | ^^ not a valid postfix operator
7 help: use `+= 1` instead
9 LL | { let tmp = i; i += 1; tmp };
10 | +++++++++++ ~~~~~~~~~~~~~~~
15 error: Rust has no postfix increment operator
16 --> $DIR/increment-notfixed.rs:17:12
19 | ----- ^^ not a valid postfix operator
21 | while parsing the condition of this `while` expression
23 help: use `+= 1` instead
25 LL | while { let tmp = i; i += 1; tmp } < 5 {
26 | +++++++++++ ~~~~~~~~~~~~~~~
28 LL + while i += 1 < 5 {
31 error: Rust has no postfix increment operator
32 --> $DIR/increment-notfixed.rs:25:8
35 | ^^ not a valid postfix operator
37 help: use `+= 1` instead
39 LL | { let tmp_ = tmp; tmp += 1; tmp_ };
40 | ++++++++++++ ~~~~~~~~~~~~~~~~~~
45 error: Rust has no postfix increment operator
46 --> $DIR/increment-notfixed.rs:31:14
48 LL | while tmp++ < 5 {
49 | ----- ^^ not a valid postfix operator
51 | while parsing the condition of this `while` expression
53 help: use `+= 1` instead
55 LL | while { let tmp_ = tmp; tmp += 1; tmp_ } < 5 {
56 | ++++++++++++ ~~~~~~~~~~~~~~~~~~
57 LL - while tmp++ < 5 {
58 LL + while tmp += 1 < 5 {
61 error: Rust has no postfix increment operator
62 --> $DIR/increment-notfixed.rs:39:16
65 | ^^ not a valid postfix operator
67 help: use `+= 1` instead
69 LL | { let tmp = foo.bar.qux; foo.bar.qux += 1; tmp };
70 | +++++++++++ ~~~~~~~~~~~~~~~~~~~~~~~~~
72 LL + foo.bar.qux += 1;
75 error: Rust has no postfix increment operator
76 --> $DIR/increment-notfixed.rs:49:10
79 | ^^ not a valid postfix operator
81 help: use `+= 1` instead
83 LL | { let tmp = s.tmp; s.tmp += 1; tmp };
84 | +++++++++++ ~~~~~~~~~~~~~~~~~~~
89 error: Rust has no prefix increment operator
90 --> $DIR/increment-notfixed.rs:56:5
93 | ^^ not a valid prefix operator
95 help: use `+= 1` instead
98 LL + foo.bar.qux += 1;
101 error: aborting due to 7 previous errors