Skip to content

Mark doc examples w/ extern blocks as ignore. #48325

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Feb 22, 2018

Conversation

frewsxcv
Copy link
Member

Fixes #48218.

@rust-highfive
Copy link
Contributor

r? @kennytm

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

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 18, 2018
@frewsxcv
Copy link
Member Author

r? @steveklabnik

@kennytm
Copy link
Member

kennytm commented Feb 18, 2018

Could we hide the “run” button, or insert a #![crate_type="lib"] when sending to playground when a code block is marked as ```no_run, instead of ignoring the tests?

@steveklabnik
Copy link
Member

Could we hide the “run” button, or insert a #![crate_type="lib"] when sending to playground when a code block is marked as ```no_run, instead of ignoring the tests?

This sounds like a separate request; we do hide the run button for ignore already... maybe open an issue?

@steveklabnik
Copy link
Member

@bors: r+ rollup

thanks!

@bors
Copy link
Collaborator

bors commented Feb 20, 2018

📌 Commit 872c782 has been approved by steveklabnik

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 20, 2018
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Feb 21, 2018
…bnik

Mark doc examples w/ `extern` blocks as `ignore`.

Fixes rust-lang#48218.
bors added a commit that referenced this pull request Feb 22, 2018
Rollup of 12 pull requests

- Successful merges: #47379, #47833, #48106, #48198, #48314, #48325, #48335, #48352, #48354, #48360, #48382, #48397
- Failed merges:
@bors bors merged commit 872c782 into rust-lang:master Feb 22, 2018
@frewsxcv frewsxcv deleted the frewxcv-ignore branch May 13, 2018 20:01
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
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.

5 participants