Skip to content

Add a proc-macro to derive HashStable in librustc dependencies#66460

Merged
bors merged 15 commits intorust-lang:masterfrom
cjgillot:hashstable_generic
Nov 22, 2019
Merged

Add a proc-macro to derive HashStable in librustc dependencies#66460
bors merged 15 commits intorust-lang:masterfrom
cjgillot:hashstable_generic

Conversation

@cjgillot
Copy link
Copy Markdown
Contributor

A second proc-macro is added to derive HashStable for crates librustc depends on.
This proc-macro HashStable_Generic (to bikeshed) allows to decouple code and some librustc's boilerplate.

Not everything is migrated, because Span and TokenKind require to be placed inside librustc.
Types using them stay there too.

Split out of #66279
r? @Zoxc

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants