about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/allocator.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-11-30 02:14:01 +0000
committerbors <bors@rust-lang.org>2023-11-30 02:14:01 +0000
commit74fccd0b50485d70680156c66229cf0949d08d2c (patch)
treeb0e074f75a6c77f47f1e7e86b3d9abe6983aa155 /compiler/rustc_codegen_llvm/src/allocator.rs
parentc9c760fc206345d0d7b7b4d989e2d95cd63ce9c0 (diff)
parent88453aaccfe308a30a30dc4dee95fe51edc367e0 (diff)
downloadrust-74fccd0b50485d70680156c66229cf0949d08d2c.tar.gz
rust-74fccd0b50485d70680156c66229cf0949d08d2c.zip
Auto merge of #117565 - estebank:issue-100825, r=Nilstrieb
Tweak parsing recovery of enums, for exprs and match arm patterns

Tweak recovery of `for (pat in expr) {}` for more accurate spans.

When encountering `match` arm `(pat if expr) => {}`, recover and suggest removing parentheses. Fix #100825.

When encountering malformed enums, try more localized per-variant parse recovery.

Move parser recovery tests to subdirectory.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/allocator.rs')
0 files changed, 0 insertions, 0 deletions