Make or (|) patterns work with match default binding modes #44912
Labels
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Consider the following example which (at the time of writing, i.e. #44614) fails:
It's not clear whether the rule that prevents this from compiling is still worthwhile.
@nikomatsakis had this to say:
The text was updated successfully, but these errors were encountered: