diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2023-10-27 17:19:32 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2023-10-27 17:19:32 +0000 |
| commit | 231f93524d19cdcd241f314f812479c429a5c5ca (patch) | |
| tree | 37452dde3f61cf200d32b4e42b53df415437af03 /compiler/rustc_llvm/llvm-wrapper | |
| parent | 6f65201659e54ccd40e3285de3e1b7c989af5cc0 (diff) | |
| download | rust-231f93524d19cdcd241f314f812479c429a5c5ca.tar.gz rust-231f93524d19cdcd241f314f812479c429a5c5ca.zip | |
Detect misparsed binop caused by missing semi
When encountering ```rust foo() *bar = baz; ``` We currently emit potentially two errors, one for the return type of `foo` not being multiplyiable by the type of `bar`, and another for `foo() * bar` not being assignable. We now check for this case and suggest adding a semicolon in the right place. Fix #80446.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions
