Rust Internals
Match with identical branches, why?
language design
cuviper
July 3, 2017, 11:31pm
7
Yes.
No, each
[[bin]]
is effectively its own crate, making its own such choices.
show post in topic
Related topics
Topic
Replies
Views
Activity
Pre-RFC: lint empty arms to stabilize `exhaustive_patterns`
language design
19
1321
February 20, 2024
More love for Rust pattern matching please
14
3337
March 25, 2019
Stabilizing `non_exhaustive_omitted_patterns` or a better alternative
language design
23
1050
April 14, 2026
Fix error[E0080]: runtime values cannot be referenced in patterns
language design
2
392
April 1, 2026
Doubly-exhaustive match statement
language design
24
1076
November 25, 2025