Skip to content

emphasize that doctests don't run in bin crates #27926

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

Merged
merged 1 commit into from
Aug 23, 2015

Conversation

durka
Copy link
Contributor

@durka durka commented Aug 20, 2015

It came up twice in quick succession on IRC that rustdoc doesn't run tests in bin crates, and doesn't give any explanation/warning either as to why. I thought it couldn't hurt to emphasize that in the Book.

@rust-highfive
Copy link
Contributor

r? @steveklabnik

(rust_highfive has picked a reviewer for you, use r? to override)

@steveklabnik
Copy link
Member

@bors: r+ rollup

@bors
Copy link
Collaborator

bors commented Aug 21, 2015

📌 Commit 8e6b9b8 has been approved by steveklabnik

@steveklabnik
Copy link
Member

Thanks! I swear this was in there before, but it's not now, so this is grea tto have.

steveklabnik added a commit to steveklabnik/rust that referenced this pull request Aug 22, 2015
…teveklabnik

It came up twice in quick succession on IRC that rustdoc doesn't run tests in bin crates, and doesn't give any explanation/warning either as to why. I thought it couldn't hurt to emphasize that in the Book.
bors added a commit that referenced this pull request Aug 23, 2015
@bors bors merged commit 8e6b9b8 into rust-lang:master Aug 23, 2015
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.

4 participants