diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2020-06-18 15:20:36 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-18 15:20:36 -0700 |
| commit | 39f8784eb6056c21c120bfa93bbec73e19773727 (patch) | |
| tree | f33d820ec959a1bd0152d5ee17cce6bd34712df4 /src/test/ui/iterators/iter-sum-overflow-debug.rs | |
| parent | 45d033b21cdd009961860e62e1d1c785ecb2af41 (diff) | |
| parent | 98532a30901d7544c49fe82f499db53699645de0 (diff) | |
| download | rust-39f8784eb6056c21c120bfa93bbec73e19773727.tar.gz rust-39f8784eb6056c21c120bfa93bbec73e19773727.zip | |
Rollup merge of #71976 - mibac138:let-recovery, r=estebank
Improve diagnostics for `let x += 1` Fixes(?) #66736 The code responsible for the `E0404` errors is [here](https://github.com/rust-lang/rust/blob/master/src/librustc_parse/parser/ty.rs#L399-L424) which I don't think can be easily modified to prevent emitting an error in one specific case. Because of this I couldn't get rid of `E0404` and instead added `E0067` along with a help message which will fix the problem. r? @estebank
Diffstat (limited to 'src/test/ui/iterators/iter-sum-overflow-debug.rs')
0 files changed, 0 insertions, 0 deletions
