-
Notifications
You must be signed in to change notification settings - Fork 13.6k
or-patterns: Push PatKind/PatternKind::Or
at top level to HIR & HAIR
#64508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
146cb8e
or-patterns: remove hack from lowering.
Centril b2f903c
or-patterns: `hir::Arm::pats` -> `::pat` + `Arm::top_pats_hack`.
Centril 6579d13
or-patterns: normalize HIR pretty priting.
Centril 75fb42a
or-patterns: use `top_pats_hack` to make things compile.
Centril 89bbef3
check_match: misc cleanup.
Centril 4c34693
or-patterns: fix problems in typeck.
Centril 9d1c3c9
simplify `hir::Pat::walk_`.
Centril cc5fe6d
or-patterns: liveness/`visit_arm`: remove `top_pats_hack`.
Centril 9ca42a5
or-patterns: liveness: generalize + remove `top_pats_hack`.
Centril 57eeb61
or-patterns: remove `Arm::contains_explicit_ref_binding`.
Centril fb2cfec
or-patterns: euv/`arm_move_mode`: remove `top_pats_hack`.
Centril d7139f3
or-patterns: euv/`walk_arm`: remove `top_pats_hack`.
Centril 07deb93
or-patterns: middle/dead: make a hack less hacky.
Centril 0dfd706
or-patterns: rvalue_promotion: remove `top_pats_hack`.
Centril 38a5ae9
or-patterns: regionck/visit_arm: remove `top_pats_hack`.
Centril 9b406f1
or-patterns: regionck/`link_match`: remove `top_pats_hack`.
Centril 6bd8c6d
or-patterns: check_match: remove `top_pats_hack` for `check_for_bindi…
Centril 549756b
or-patterns: check_match: nix `top_pats_hack` passed to `check_patter…
Centril 56b055a
or-patterns: HAIR: `Arm.patterns: Vec<Pattern<'_>>` -> `.pattern: Pat…
Centril 05cc3c0
or-patterns: liveness: `is_argument` -> `is_param`.
Centril 370fbcc
or-patterns: #47390: we rely on names to exercise `IndexMap`.
Centril 0918dc4
or-patterns: middle/dead: remove `top_pats_hack`.
Centril File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
or-patterns: use
top_pats_hack
to make things compile.
- Loading branch information
commit 75fb42a11fa91a323e2109a0d42230d96c73e3bb
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.