]> git.lizzy.rs Git - rust.git/commit
fix #104867, Properly handle postfix inc/dec in standalone and subexpr scenarios
authoryukang <moorekang@gmail.com>
Fri, 25 Nov 2022 09:11:47 +0000 (17:11 +0800)
committeryukang <moorekang@gmail.com>
Fri, 25 Nov 2022 09:13:45 +0000 (17:13 +0800)
commit7c11a53f9ccb4040995b9e054b093a47fef29cc1
tree67c683a12e99f16e17bc221ffa87e01edd1c3d59
parent1dda298ad39a64e019a3511139c5b13ac0a18e54
fix #104867, Properly handle postfix inc/dec in standalone and subexpr scenarios
compiler/rustc_parse/src/parser/diagnostics.rs
compiler/rustc_parse/src/parser/expr.rs
src/test/ui/parser/increment-notfixed.fixed [new file with mode: 0644]
src/test/ui/parser/increment-notfixed.rs
src/test/ui/parser/increment-notfixed.stderr
src/test/ui/parser/issue-104867-inc-dec.rs [new file with mode: 0644]
src/test/ui/parser/issue-104867-inc-dec.stderr [new file with mode: 0644]