Add arg splat experiment feature gate and stub#153697
Open
teor2345 wants to merge 1 commit intorust-lang:mainfrom
Open
Add arg splat experiment feature gate and stub#153697teor2345 wants to merge 1 commit intorust-lang:mainfrom
teor2345 wants to merge 1 commit intorust-lang:mainfrom
Conversation
Collaborator
|
r? @JohnTitor rustbot has assigned @JohnTitor. Use Why was this reviewer chosen?The reviewer was selected based on:
|
16 tasks
Collaborator
|
The job Click to see the possible cause of the failure (guessed by this bot) |
oli-obk
reviewed
Mar 11, 2026
| use crate::util::{check_builtin_macro_attribute, warn_on_duplicate_attribute}; | ||
|
|
||
| /// Expand a function taking a tuple, into a function taking separate arguments. | ||
| /// TODO: not yet implemented, currently passes the input through unchanged, after checking it's a function. |
Contributor
There was a problem hiding this comment.
You need to use FIXME(splat) instead of TODO so that tidy passes
Member
|
It should be better for someone on https://rust-lang.zulipchat.com/#narrow/channel/213817-t-lang/topic/On.20overloading/with/573924937 to review this, @oli-obk could you take over? |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR is part of the argument splatting lang experiment, and FFI overloading / C++ interop project goals:
The PR only contains the initial stubs for the feature:
splatincomplete feature gate#[splat]proc macro stub which passes through its tokens (for now)splatmodule in core & std#[splat]function item checkOnce this PR merges, we can start adding basic macro functionality, and testing it out in interop tools.