Arg splat experiment - HIR FnSig impl#157811
Conversation
|
HIR ty lowering was modified cc @fmease This PR changes rustc_public cc @oli-obk, @celinval, @ouz-a, @makai410
cc @rust-lang/rust-analyzer
cc @rust-lang/miri |
|
rustbot has assigned @dingxiangfei2009. Use Why was this reviewer chosen?The reviewer was selected based on:
|
| #[type_foldable(identity)] | ||
| splatted: u16, | ||
|
|
||
| _marker: PhantomData<fn() -> I>, |
There was a problem hiding this comment.
These attributes don't seem to be necessary, but should they be kept anyway?
| _marker: PhantomData<fn() -> I>, | |
| #[type_visitable(ignore)] | |
| #[type_foldable(identity)] | |
| _marker: PhantomData<fn() -> I>, |
|
☔ The latest upstream changes (presumably #157863) made this pull request unmergeable. Please resolve the merge conflicts. |
View all comments
This PR is part of the argument splatting lang experiment, and FFI overloading / C++ interop project goals:
I've split it from #153697 to make reviewing easier, see that PR for more details.
The PR is the HIR-level FnSig implementation of the feature (next PR will be typecheck):
Once this PR merges, I'll rebase #153697.
There aren't any extra tests in this PR, because it doesn't have any externally visible functionality. The visible functionality and tests are in the rest of #153697.