-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Match ergonomics 2024: Implement TC's match ergonomics proposal #127008
Conversation
This comment has been minimized.
This comment has been minimized.
It works on my machine? |
@Jules-Bertholet: That's a debug assertion. You need to add:
To your |
Under gate `ref_pat_eat_one_layer_2024_structural`. Enabling `ref_pat_eat_one_layer_2024` at the same time allows the union of what the individual gates allow.
f6af9e2
to
35f6b7b
Compare
Looks good! Just one procedural nit and then you can merge @bors delegate |
@bors delegate+ |
✌️ @Jules-Bertholet, you can now approve this pull request! If @Nadrieril told you to " |
Forgot I can push that kind of change myself |
@bors r+ |
…rieril Match ergonomics 2024: Implement TC's match ergonomics proposal Under gate `ref_pat_eat_one_layer_2024_structural`. Enabling `ref_pat_eat_one_layer_2024` at the same time allows the union of what the individual gates allow. `@traviscross` r? `@Nadrieril` cc rust-lang#123076 `@rustbot` label A-edition-2024 A-patterns
💔 Test failed - checks-actions |
A job failed! Check out the build log: (web) (plain) Click to see the possible cause of the failure (guessed by this bot)
|
@bors retry |
…rieril Match ergonomics 2024: Implement TC's match ergonomics proposal Under gate `ref_pat_eat_one_layer_2024_structural`. Enabling `ref_pat_eat_one_layer_2024` at the same time allows the union of what the individual gates allow. `@traviscross` r? `@Nadrieril` cc rust-lang#123076 `@rustbot` label A-edition-2024 A-patterns
💔 Test failed - checks-actions |
@bors retry |
A job failed! Check out the build log: (web) (plain) Click to see the possible cause of the failure (guessed by this bot)
|
@bors retry |
1 similar comment
@bors retry |
Oh it's in the queue. I got confused by out-of-order messages |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at the tests that changed here, this looks right to me.
tests/ui/match/ref_pat_eat_one_layer_2024/ref_pat_eat_one_layer_2024_fail.rs
Show resolved
Hide resolved
@bors rollup=iffy in case of weird perf results |
☀️ Test successful - checks-actions |
Finished benchmarking commit (2ad6630): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)Results (primary 2.4%, secondary 1.5%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResults (secondary 1.0%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 698.63s -> 698.523s (-0.02%) |
Under gate
ref_pat_eat_one_layer_2024_structural
. Enablingref_pat_eat_one_layer_2024
at the same time allows the union of what the individual gates allow. @traviscrossr? @Nadrieril
cc #123076
@rustbot label A-edition-2024 A-patterns