diff options
| author | bors <bors@rust-lang.org> | 2023-02-16 11:40:45 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-02-16 11:40:45 +0000 |
| commit | 86fb33a9738ae4793b136204e011a7cf1a7e255d (patch) | |
| tree | d934df8d6964e57187ee6ae6c5df25a34a961a18 /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff | |
| parent | 5b6795f50b521b11393d39f823d8a3e5b262b134 (diff) | |
| parent | f12b492ee09eb39ba1ec9867a241a4b87c51528c (diff) | |
| download | rust-86fb33a9738ae4793b136204e011a7cf1a7e255d.tar.gz rust-86fb33a9738ae4793b136204e011a7cf1a7e255d.zip | |
Auto merge of #10353 - nindalf:master, r=llogiq
Change unusual_byte_groupings to require byte groupings of equal size Fixes issue #6556 This lint required byte groupings of size 2 or 4 for `Radix::Binary` and `Radix::Hexadecimal`. Since there are good reasons for allowing groups of other sizes, this PR relaxes the restriction. This lint now requires that - group sizes after the first group be of the same size and - greater or equal in size to the first group. --- changelog: [`unusual_byte_groupings`]: reduce false positives by relaxing restriction requiring groups of specific sizes.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions
