Skip to content

Parse error types (like ParseIntError) don't seem to be available in the std namespace, just core #21929

Closed
@sellibitze

Description

@sellibitze

(judging by the API docs)

I'd like to be able to use Result<u8, ParseIntError> as a function's return type without having to use directly core::num::ParseIntError since this is what parse::<u8> apparently returns now and thus us a public facing type.

cc @alexcrichton

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions