diff options
| author | bors <bors@rust-lang.org> | 2024-01-06 19:22:59 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-01-06 19:22:59 +0000 |
| commit | 0e5dc8e630038338ac4432c5f7553573ef15a61c (patch) | |
| tree | 33d07baa52325105bdccf69840553a02b8fb68ce /compiler/rustc_llvm/llvm-wrapper | |
| parent | 788094c23570d2f2b6feb883372d5bc23fc93c6c (diff) | |
| parent | eae2317977acb0d42a93740ae93122a1287d8090 (diff) | |
| download | rust-0e5dc8e630038338ac4432c5f7553573ef15a61c.tar.gz rust-0e5dc8e630038338ac4432c5f7553573ef15a61c.zip | |
Auto merge of #11883 - J-ZhengLi:issue11642, r=dswij
improve [`cast_sign_loss`], to skip warning on always positive expressions fixes: #11642 changelog: improve [`cast_sign_loss`] to skip warning on always positive expressions Turns out this is change became quite big, and I still can't cover all the cases, like method calls such as `POSITIVE_NUM.mul(POSITIVE_NUM)`, or `NEGATIVE_NUM.div(NEGATIVE_NUM)`... but well, if I do, I'm scared that this will goes forever, so I stopped, unless it needs to be done, lol.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions
