about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorTimo <30553356+y21@users.noreply.github.com>2024-12-30 14:06:30 +0000
committerGitHub <noreply@github.com>2024-12-30 14:06:30 +0000
commit2aea7a080d7d04d433d76772a7b3200c3324e6a1 (patch)
tree47dff42f0e9eaf4502ead0916852850aeed6c259 /compiler/rustc_codegen_gcc
parentbe49f8613a50a6ecfab6bed3c630ca5226182719 (diff)
parente4b11a72665732989fc01f8f140b25469790608b (diff)
downloadrust-2aea7a080d7d04d433d76772a7b3200c3324e6a1.tar.gz
rust-2aea7a080d7d04d433d76772a7b3200c3324e6a1.zip
Fix parentheses when replacing `matches!(…, None)` with `.is_none()` (#13906)
Proper parentheses need to be added to some expressions in receiver
position.

Fix #13902

changelog: [`redundant_pattern_matching`]: use proper parentheses when
suggesting replacing `matches!(…, None)` by `.is_none()`
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions