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

0.1: Allow deprecated warnings #2221

Merged
merged 1 commit into from
Sep 30, 2020
Merged

0.1: Allow deprecated warnings #2221

merged 1 commit into from
Sep 30, 2020

Conversation

taiki-e
Copy link
Member

@taiki-e taiki-e commented Sep 30, 2020

They are warnings about deprecated items or syntax, but alternatives are not available in 0.1's msrv.

@taiki-e taiki-e added the futures-0.1 Issue related to the 0.1 versions of futures label Sep 30, 2020
Comment on lines +291 to 292
#[allow(deprecated)]
fn description(&self) -> &str {
Copy link
Member Author

Choose a reason for hiding this comment

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

Error::description is a required method in rust 1.15: https://doc.rust-lang.org/1.15.0/std/error/trait.Error.html#tymethod.description

@taiki-e taiki-e merged commit 8f9c4a6 into rust-lang:0.1 Sep 30, 2020
@taiki-e taiki-e deleted the 0.1-warnings branch September 30, 2020 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
futures-0.1 Issue related to the 0.1 versions of futures
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant