about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-04-12 08:41:20 +0000
committerbors <bors@rust-lang.org>2024-04-12 08:41:20 +0000
commitab71ee7a9214c2793108a41efb065aa77aeb7326 (patch)
tree63691abb45d6b276fda29db6ceed30dba1265e66 /compiler/rustc_interface/src
parent6bc9dcd7ecf2cff2b6ef2243e7aeaded8d0d4c0f (diff)
parent889ca7e2164a0032d668cb6b1e148507dc2bd9b2 (diff)
downloadrust-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_interface/src')
0 files changed, 0 insertions, 0 deletions