-
Notifications
You must be signed in to change notification settings - Fork 76
Closed
Description
| Metadata | |
|---|---|
| Owner(s) | @Nadrieril |
| Team(s) | compiler, lang |
| Goal document | 2024h2/Patterns-of-empty-types |
Summary
Introduce an RFC for never patterns or other solutions for patterns involving uninhabited types.
Tasks and status
- Stabilize
min_exhaustive_patterns(@Nadrieril) - Defer linting of newly-unreachable arms til later (@Nadrieril)
- Write up "never patterns" RFC (@Nadrieril)
- Submit RFC, discuss and wait for acceptance (lang
)
- Implement never patterns (@Nadrieril)
- Amend
exhaustive_patternsto only apply to the case of empty types behind references (@Nadrieril) - Decide on stabilization of
exhaustive_patterns(lang)
- Decide on linting of the newly-unreachable arms (lang
)