diff options
| author | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-11-07 07:16:43 +0000 |
|---|---|---|
| committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-11-07 07:16:43 +0000 |
| commit | 3bb88775de5a6f8f5c5743dd11af6c820122ccc7 (patch) | |
| tree | 92d47bd200941ad73fd2e0a93a31e668fa239c12 /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff | |
| parent | 4c3408c61d1042bf0585de440041ee7edfc5b350 (diff) | |
| parent | c20e17f8ee44e05067402960dc12794c377fbe03 (diff) | |
| download | rust-3bb88775de5a6f8f5c5743dd11af6c820122ccc7.tar.gz rust-3bb88775de5a6f8f5c5743dd11af6c820122ccc7.zip | |
Merge #3407
3407: Fix `possible_missing_comma` false positives r=oli-obk a=mikerite `possible_missing_comma` should only trigger when the binary operator has unary equivalent. Otherwise, it's not possible to insert a comma without breaking compilation. The operators identified were `+`, `&`, `*` and `-`. This fixes the specific examples given in issues #3244 and #3396 but doesn't address the conflict this lint has with the style of starting a line with a binary operator. Co-authored-by: Michael Wright <mikerite@lavabit.com>
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions
