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

Treat proc-macros as libraries #424

Merged
merged 1 commit into from
Oct 8, 2019

Conversation

pietroalbini
Copy link
Member

Before this commit crates containing only proc-macros weren't
documented, as docs.rs treated them as binaries. Proc macros are
supposed to be documented though, and that behavior was a regression of
the rustwide deployment.

This commit fixes the regression by treating proc macros as libraries.

r? @Mark-Simulacrum
fixes #422

Before this commit crates containing only proc-macros weren't
documented, as docs.rs treated them as binaries. Proc macros are
supposed to be documented though, and that behavior was a regression of
the rustwide deployment.

This commit fixes the regression by treating proc macros as libraries.
Copy link
Member

@QuietMisdreavus QuietMisdreavus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@pietroalbini pietroalbini merged commit f7c40c3 into rust-lang:master Oct 8, 2019
@pietroalbini pietroalbini deleted the recognize-proc-macro branch October 8, 2019 15:53
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.

Missing docs for procedural macro crate
2 participants