Skip to content

remove usage of Error::description() #1206

Closed
@carllerche

Description

description() is deprecated. At the very least, it is still used in tokio-executor/src/enter.rs:25.

This causes unhelpful error messages on panic, like:

thread 'read' panicked at 'called `Result::unwrap()` on an `Err` value: EnterError { reason: "description() is deprecated; use Display" }', src/libcore/result.rs:999:5

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions