Skip to content

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

Merged
BurntSushi merged 1 commit into
BurntSushi:masterfrom
japaric:fix-unit
Nov 17, 2014
Merged

fix macro: TyNil has been removed, use zero-length TyTup#38
BurntSushi merged 1 commit into
BurntSushi:masterfrom
japaric:fix-unit

Conversation

@japaric

@japaric japaric commented Nov 17, 2014

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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