diff options
| author | bors <bors@rust-lang.org> | 2019-09-04 12:14:41 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-09-04 12:14:41 +0000 |
| commit | ffe57fad85ffa8561bd5ead77353337d7de23139 (patch) | |
| tree | c07c345862159304e20be89b3c429854d2074080 /src/test/incremental/thinlto | |
| parent | a2c4b2b8da3347e9c7632592fbd978d4a97a931d (diff) | |
| parent | c6fb9c8a2a2e4a661573c49134e16f70df635860 (diff) | |
| download | rust-ffe57fad85ffa8561bd5ead77353337d7de23139.tar.gz rust-ffe57fad85ffa8561bd5ead77353337d7de23139.zip | |
Auto merge of #4498 - sinkuu:checked_arithmetic_unwrap, r=flip1995
Add manual_saturating_arithmetic lint changelog: add `manual_saturating_arithmetic` lint Fixes #1557. This lint detects manual saturating arithmetics like `x.checked_add(10u32).unwrap_or(u32::max_value())` and suggests replacing with `x.saturating_add(10u32)`.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
