diff options
| author | bors <bors@rust-lang.org> | 2024-04-12 08:41:20 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-04-12 08:41:20 +0000 |
| commit | ab71ee7a9214c2793108a41efb065aa77aeb7326 (patch) | |
| tree | 63691abb45d6b276fda29db6ceed30dba1265e66 /compiler/rustc_mir_transform/src | |
| parent | 6bc9dcd7ecf2cff2b6ef2243e7aeaded8d0d4c0f (diff) | |
| parent | 889ca7e2164a0032d668cb6b1e148507dc2bd9b2 (diff) | |
| download | rust-ab71ee7a9214c2793108a41efb065aa77aeb7326.tar.gz rust-ab71ee7a9214c2793108a41efb065aa77aeb7326.zip | |
Auto merge of #123736 - compiler-errors:multiply-on-rhs, r=estebank
Don't delay a bug if we suggest adding a semicolon to the RHS of an assign operator It only makes sense to delay a bug based on the assumption that "[we] defer to the later error produced by `check_lhs_assignable`" *if* the expression we're erroring actually is an LHS; otherwise, we should still report the error since it's both useful and required. Fixes #123722
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions
