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

Implement Error trait for fmt::Error type #33856

Merged
merged 1 commit into from
May 28, 2016

Conversation

GuillaumeGomez
Copy link
Member

Fixes #33827.

r? @alexcrichton

Just one last thing: I added a feature name, but don't hesitate to ask me to change it if you think it doesn't fit well.

@@ -212,6 +212,13 @@ impl<T: Error> Error for Box<T> {
}
}

#[unstable(feature = "fmt_error", issue = "33827")]
Copy link
Member

Choose a reason for hiding this comment

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

Unfortunately we don't actually read stability attributes on impl blocks for traits, so this'll be "insta-stable". It's fine to just change this to #[stable]

@GuillaumeGomez
Copy link
Member Author

Ok, now it's stable.

@alexcrichton
Copy link
Member

@bors: r+ 394c23b

Manishearth added a commit to Manishearth/rust that referenced this pull request May 28, 2016
…chton

Implement Error trait for fmt::Error type

Fixes rust-lang#33827.

r? @alexcrichton

Just one last thing: I added a feature name, but don't hesitate to ask me to change it if you think it doesn't fit well.
bors added a commit that referenced this pull request May 28, 2016
Rollup of 15 pull requests

- Successful merges: #33820, #33821, #33822, #33824, #33825, #33831, #33832, #33848, #33849, #33852, #33854, #33856, #33859, #33860, #33861
- Failed merges:
@bors bors merged commit 394c23b into rust-lang:master May 28, 2016
@GuillaumeGomez GuillaumeGomez deleted the fmt_error branch May 28, 2016 17:44
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.

3 participants