Skip to content
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

fix macro: TyNil has been removed, use zero-length TyTup #38

Merged
merged 1 commit into from
Nov 17, 2014
Merged

fix macro: TyNil has been removed, use zero-length TyTup #38

merged 1 commit into from
Nov 17, 2014

Conversation

japaric
Copy link
Contributor

@japaric japaric commented Nov 17, 2014

See rust-lang/rust#18752

AIUI, one should use a zero-length tuple instead of the removed unit type. Since there is no ty_tup constructor, I have constructed the zero length tuple type manually (using a dummy id/span as ty_nil did).

BurntSushi added a commit that referenced this pull request Nov 17, 2014
fix macro: `TyNil` has been removed, use zero-length `TyTup`
@BurntSushi BurntSushi merged commit c255698 into BurntSushi:master Nov 17, 2014
@BurntSushi
Copy link
Owner

Excellent. Thank you! :-)

@japaric japaric deleted the fix-unit branch November 19, 2014 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants