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

Put #[macro_use] extern crate <crate> before fn main() in doctests #49188

Merged
merged 1 commit into from
Mar 22, 2018
Merged

Put #[macro_use] extern crate <crate> before fn main() in doctests #49188

merged 1 commit into from
Mar 22, 2018

Conversation

memoryleak47
Copy link
Contributor

Closes #49174.

@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @steveklabnik (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 19, 2018
@QuietMisdreavus
Copy link
Member

Looks good! Thanks for picking this up this fast. I'm gonna wait and see if Travis picks up anything we didn't think of, then push this on through.

@QuietMisdreavus
Copy link
Member

@bors r+ rollup

Thanks!

@bors
Copy link
Contributor

bors commented Mar 20, 2018

📌 Commit 25c8210 has been approved by QuietMisdreavus

@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 Mar 20, 2018
kennytm added a commit to kennytm/rust that referenced this pull request Mar 21, 2018
…uietMisdreavus

Put `#[macro_use] extern crate <crate>` before fn main() in doctests

Closes rust-lang#49174.
kennytm added a commit to kennytm/rust that referenced this pull request Mar 22, 2018
…uietMisdreavus

Put `#[macro_use] extern crate <crate>` before fn main() in doctests

Closes rust-lang#49174.
bors added a commit that referenced this pull request Mar 22, 2018
@alexcrichton alexcrichton merged commit 25c8210 into rust-lang:master Mar 22, 2018
@memoryleak47 memoryleak47 deleted the macro_use_doctest branch April 6, 2018 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in 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.

6 participants