9 pub fn post_regular() {
11 i++; //~ ERROR Rust has no postfix increment operator
18 //~^ ERROR Rust has no postfix increment operator
23 pub fn post_regular_tmp() {
25 tmp++; //~ ERROR Rust has no postfix increment operator
29 pub fn post_while_tmp() {
32 //~^ ERROR Rust has no postfix increment operator
38 let foo = Foo { bar: Bar { qux: 0 } };
40 //~^ ERROR Rust has no postfix increment operator
41 println!("{}", foo.bar.qux);
44 pub fn post_field_tmp() {
50 //~^ ERROR Rust has no postfix increment operator
51 println!("{}", s.tmp);
55 let foo = Foo { bar: Bar { qux: 0 } };
57 //~^ ERROR Rust has no prefix increment operator
58 println!("{}", foo.bar.qux);