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

Gracefully fail if use_std is not used #482

Merged
merged 1 commit into from
Jun 19, 2018
Merged

Gracefully fail if use_std is not used #482

merged 1 commit into from
Jun 19, 2018

Conversation

cipriancraciun
Copy link
Contributor

Use compile_error! macro to issue a meaningful compile error if the use_std feature is not enabled.

Use `compile_error!` macro to issue a meaningful compile error if the `use_std` feature is not enabled.
Copy link
Member

@BurntSushi BurntSushi left a comment

Choose a reason for hiding this comment

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

Thanks!

@BurntSushi BurntSushi merged commit ba52be1 into rust-lang:master Jun 19, 2018
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.

2 participants