about summary refs log tree commit diff
path: root/tests/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-02-16 11:40:45 +0000
committerbors <bors@rust-lang.org>2023-02-16 11:40:45 +0000
commit86fb33a9738ae4793b136204e011a7cf1a7e255d (patch)
treed934df8d6964e57187ee6ae6c5df25a34a961a18 /tests/debuginfo/enum-thinlto.rs
parent5b6795f50b521b11393d39f823d8a3e5b262b134 (diff)
parentf12b492ee09eb39ba1ec9867a241a4b87c51528c (diff)
downloadrust-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/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions