Don't delay a bug if we suggest adding a semicolon to the RHS of an assign operator#123736
Conversation
|
r? @wesleywiser rustbot has assigned @wesleywiser. Use |
|
@bors r+ |
|
☀️ Test successful - checks-actions |
|
Finished benchmarking commit (ab71ee7): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 676.794s -> 676.395s (-0.06%) |
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