Postfix match: Unexpected unused_parens
warning when LHS contained parenthesis
#123064
Labels
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
F-postfix_match
`#![feature(postfix_match)]`
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
cc #121618.
I tried this code:
I expected to see this happen: no warnings
Instead, this happened:
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: