bors fb61292105 Auto merge of #117292 - estebank:issue-80446, r=davidtwco
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 multiplicative 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 and emit only a single error.

Fix #80446.
2023-11-06 18:46:04 +00:00
..
2023-10-17 17:33:55 +00:00
2023-10-30 22:19:17 +00:00
2023-10-30 22:19:17 +00:00
2023-10-24 15:30:17 +00:00
2023-10-08 10:06:17 +00:00
2023-10-05 01:04:41 +00:00
2023-10-04 08:01:11 +08:00
2023-10-08 10:06:17 +00:00
2023-10-04 08:01:11 +08:00
2023-10-20 21:14:01 +00:00
2023-11-02 18:16:37 +01:00
2023-10-20 21:14:01 +00:00
2023-10-08 10:06:17 +00:00
2023-10-17 17:33:55 +00:00
2023-11-03 13:16:47 +00:00
2023-10-20 21:14:01 +00:00
2023-10-11 04:55:55 +02:00
2023-10-20 21:14:01 +00:00
2023-10-02 23:14:29 +00:00
2023-10-17 17:33:55 +00:00
2023-10-20 21:14:01 +00:00
2023-10-05 01:04:41 +00:00
2023-10-05 01:04:41 +00:00
2023-10-20 21:14:01 +00:00