]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-types/issue-36499.stderr
Bless tests
[rust.git] / src / test / ui / associated-types / issue-36499.stderr
1 error: Rust has no postfix increment operator
2   --> $DIR/issue-36499.rs:4:7
3    |
4 LL |     2 + +2;
5    |       ^^^ not a valid postfix operator
6    |
7 help: use `+= 1` instead
8    |
9 LL |     { let tmp = 2 ; 2 += 1; tmp }2;
10    |     +++++++++++   ~~~~~~~~~~~~~~~
11 help: or, if you don't need to use it as an expression, change it to this
12    |
13 LL -     2 + +2;
14 LL +     2  += 12;
15    | 
16
17 error: aborting due to previous error
18