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

Stabilize the Error trait #23541

Merged
merged 1 commit into from
Mar 24, 2015
Merged

Stabilize the Error trait #23541

merged 1 commit into from
Mar 24, 2015

Commits on Mar 23, 2015

  1. Stabilize the Error trait

    This small commit stabilizes the `Error` trait as-is, except that `Send`
    and `Debug` are added as constraints. The `Send` constraint is because
    most uses of `Error` will be for trait objects, and by default we would
    like these objects to be transferrable between threads. The `Debug`
    constraint is to ensure that e.g. `Box<Error>` is `Debug`, and because
    types that implement `Display` should certainly implement `Debug` in any case.
    
    In the near future we expect to add `Any`-like downcasting features to
    `Error`, but this is waiting on some additional
    mechanisms (`Reflect`). It will be added before 1.0 via default methods.
    
    [breaking-change]
    aturon committed Mar 23, 2015
    Configuration menu
    Copy the full SHA
    9231ceb View commit details
    Browse the repository at this point in the history