about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-03-28 17:40:49 +0100
committerGitHub <noreply@github.com>2024-03-28 17:40:49 +0100
commit69cfe80834f58b679fdc71420f709e585b50c18f (patch)
tree42dde2dda649dfabd14b0181c4092b73fa279041 /compiler/rustc_pattern_analysis/src/errors.rs
parent732ded92a02f284a43ed2252853981f044821107 (diff)
parent950b40f1119ebe5ae51555ca7d236a899b604a4c (diff)
downloadrust-69cfe80834f58b679fdc71420f709e585b50c18f.tar.gz
rust-69cfe80834f58b679fdc71420f709e585b50c18f.zip
Rollup merge of #123096 - compiler-errors:postfix-match-parens, r=fmease
Don't check match scrutinee of postfix match for unused parens

We only check the scrutinees of block-like constructs and a few others (return/index/assign/method calls). Just don't do it for postfix match at all.

Fixes #123064

r? fmease
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/errors.rs')
0 files changed, 0 insertions, 0 deletions