diff options
| author | bors <bors@rust-lang.org> | 2024-01-12 22:15:55 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-01-12 22:15:55 +0000 |
| commit | 3071aefdb2821439e2e6f592f41a4d28e40c1e79 (patch) | |
| tree | 7bf80bc244cd2c185a4aadc147ea31add7c949d2 /tests/rustdoc-js-std/from_u.js | |
| parent | 2319be8e265dd19973574eb581d28297baf44b11 (diff) | |
| parent | eef4e653f2925e4923059f4571c8433a40f2e4a0 (diff) | |
| download | rust-3071aefdb2821439e2e6f592f41a4d28e40c1e79.tar.gz rust-3071aefdb2821439e2e6f592f41a4d28e40c1e79.zip | |
Auto merge of #117321 - chenyukang:yukang-fix-117142, r=petrochenkov
Fix unused_parens issue when cast is followed LT Fixes #117142 The original check only checks `a as (i32) < 0`, this fix extends it to handle `b + a as (i32) < 0`. A better way is maybe we suggest `(a as i32) < 0` instead of suppressing the warning, maybe following PR could improve it.
Diffstat (limited to 'tests/rustdoc-js-std/from_u.js')
0 files changed, 0 insertions, 0 deletions
