-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Implement macro-based deref!() syntax for deref patterns #122793
Conversation
Some changes occurred in exhaustiveness checking cc @Nadrieril Some changes occurred in match lowering cc @Nadrieril Some changes occurred in match checking cc @Nadrieril |
This comment has been minimized.
This comment has been minimized.
7d50e10
to
f32e8f5
Compare
Some changes occurred in src/tools/clippy cc @rust-lang/clippy |
This comment has been minimized.
This comment has been minimized.
f32e8f5
to
33292c3
Compare
This comment has been minimized.
This comment has been minimized.
Didn't we want to expand built-in macros to |
Oh, yeah, that's easier. I didn't even know about that. |
This comment has been minimized.
This comment has been minimized.
adc5217
to
b5e10de
Compare
Some changes occurred in src/tools/rustfmt cc @rust-lang/rustfmt |
This comment has been minimized.
This comment has been minimized.
b5e10de
to
72be1e3
Compare
👍 r=me with the two changes requested by others (when the other PR lands) |
Stop using `box PAT` syntax for deref patterns, as it's misleading and also causes their semantics being tangled up.
72be1e3
to
a4db3ff
Compare
Good to go I think @bors r=Nadrieril |
…iaskrgr Rollup of 8 pull requests Successful merges: - rust-lang#122402 (Make `#[diagnostic::on_unimplemented]` format string parsing more robust) - rust-lang#122644 (pattern analysis: add a custom test harness) - rust-lang#122733 (Strip placeholders from hidden types before remapping generic parameter) - rust-lang#122752 (Interpolated cleanups) - rust-lang#122771 (add some comments to hir::ModuleItems) - rust-lang#122793 (Implement macro-based deref!() syntax for deref patterns) - rust-lang#122810 (Remove `target_override`) - rust-lang#122827 (Remove unnecessary braces from `bug`/`span_bug`) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#122793 - compiler-errors:deref-pat-syntax, r=Nadrieril Implement macro-based deref!() syntax for deref patterns Stop using `box PAT` syntax for deref patterns, and instead use a perma-unstable macro. Blocked on rust-lang#122222 r? `@Nadrieril`
Stop using
box PAT
syntax for deref patterns, and instead use a perma-unstable macro.Blocked on #122222
r? @Nadrieril