Skip to content

Require Debug+Display, not Error #207

Description

@Manishearth

In ICU4X we're moving towards no_std support, and this means that by default the Error trait is not implemented. It's possible to explicitly enable the "std" feature and have it be enabled, however it seems like it's unnecessary to require Error on the error associated types since none of Errors functionality is actually used — perhaps we should just require Debug+Display, or maybe even just one or none of those traits. In general we should require the traits we need.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions