diff options
| author | bors <bors@rust-lang.org> | 2023-02-16 16:12:19 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-02-16 16:12:19 +0000 |
| commit | dfe23dc236a71e8c0dde4f3ccf4273108c61ef1f (patch) | |
| tree | 4e7114cdedd4427253cdfa8fc480d43b8ede3d9d /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff | |
| parent | 52c8b536c954bc543290f36f2d90f3e75facaa0b (diff) | |
| parent | 6d0df84f6f879feb2211f8f61351a4669d2397e0 (diff) | |
| download | rust-dfe23dc236a71e8c0dde4f3ccf4273108c61ef1f.tar.gz rust-dfe23dc236a71e8c0dde4f3ccf4273108c61ef1f.zip | |
Auto merge of #10360 - JirkaVebr:transmute_integer_to_non_zero_wrapper, r=llogiq
Add the `transmute_int_to_non_zero` lint Fixes #10288 This adds a new complexity lint `transmute_int_to_non_zero` which checks for transmutes to any of the `NonZero*` types, and suggests their `new_unchecked` method instead. r? `@llogiq` changelog: New lint: [`transmute_int_to_non_zero`]
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions
