-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ADT for parsing &Arguments in proc macros
Summary: `&Arguments` and unpacked parameters are mutually exclusive. Express it with an enum instead of assertions: https://www.internalfb.com/code/fbsource/[D63599261-V1]/fbcode/buck2/starlark-rust/starlark_derive/src/module/typ.rs?lines=182-189 Reviewed By: JakobDegen Differential Revision: D63599261 fbshipit-source-id: 28efbb4cf463d4c09bf1d35e7617746c5708daac
- Loading branch information
1 parent
7119c18
commit 2f842d6
Showing
5 changed files
with
260 additions
and
186 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.