or_patterns: unused_parens
lints erroneously on _a @ (0 | 1)
#64106
Labels
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
F-or_patterns
`#![feature(or_patterns)]`
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
results in:
changing things into
_a @ (0 | 1)
will correctly refuse to parse.cc @dlrobertson #54883
The text was updated successfully, but these errors were encountered: