Skip to content

add const_eval_select macro to reduce redundancy#132571

Merged
bors merged 1 commit into
rust-lang:masterfrom
RalfJung:const_eval_select_macro
Nov 6, 2024
Merged

add const_eval_select macro to reduce redundancy#132571
bors merged 1 commit into
rust-lang:masterfrom
RalfJung:const_eval_select_macro

Conversation

@RalfJung
Copy link
Copy Markdown
Member

@RalfJung RalfJung commented Nov 3, 2024

I played around a bit with a macro to make const_eval_select invocations look a bit nicer and avoid repeating the argument lists. Here's what I got. What do you think?

I didn't apply this everywhere yet because I wanted to gather feedback first.

The second commit moves the macros from #132542 into a more sensible place. It didn't seem worth its own PR and would conflict with this PR if done separately.

Cc @oli-obk @saethlin @tgross35

try-job: dist-aarch64-msvc

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants