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 | +++++++++++ ~~~~~~~~~~~~~~~
14 error: Rust has no postfix increment operator
15 --> $DIR/increment-notfixed.rs:17:12
18 | ----- ^^ not a valid postfix operator
20 | while parsing the condition of this `while` expression
22 help: use `+= 1` instead
24 LL | while { let tmp = i; i += 1; tmp } < 5 {
25 | +++++++++++ ~~~~~~~~~~~~~~~
26 LL | while i += 1 < 5 {
29 error: Rust has no postfix increment operator
30 --> $DIR/increment-notfixed.rs:25:8
33 | ^^ not a valid postfix operator
35 help: use `+= 1` instead
37 LL | { let tmp_ = tmp; tmp += 1; tmp_ };
38 | ++++++++++++ ~~~~~~~~~~~~~~~~~~
42 error: Rust has no postfix increment operator
43 --> $DIR/increment-notfixed.rs:31:14
45 LL | while tmp++ < 5 {
46 | ----- ^^ not a valid postfix operator
48 | while parsing the condition of this `while` expression
50 help: use `+= 1` instead
52 LL | while { let tmp_ = tmp; tmp += 1; tmp_ } < 5 {
53 | ++++++++++++ ~~~~~~~~~~~~~~~~~~
54 LL | while tmp += 1 < 5 {
57 error: Rust has no postfix increment operator
58 --> $DIR/increment-notfixed.rs:39:16
61 | ^^ not a valid postfix operator
63 help: use `+= 1` instead
65 LL | { let tmp = foo.bar.qux; foo.bar.qux += 1; tmp };
66 | +++++++++++ ~~~~~~~~~~~~~~~~~~~~~~~~~
67 LL | foo.bar.qux += 1;
70 error: Rust has no postfix increment operator
71 --> $DIR/increment-notfixed.rs:49:10
74 | ^^ not a valid postfix operator
76 help: use `+= 1` instead
78 LL | { let tmp = s.tmp; s.tmp += 1; tmp };
79 | +++++++++++ ~~~~~~~~~~~~~~~~~~~
83 error: Rust has no prefix increment operator
84 --> $DIR/increment-notfixed.rs:56:5
87 | ^^ not a valid prefix operator
89 help: use `+= 1` instead
92 LL + foo.bar.qux += 1;
95 error: aborting due to 7 previous errors