Skip to content

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

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

Closed
sellibitze opened this issue Feb 4, 2015 · 1 comment · Fixed by #21937

Comments

@sellibitze
Copy link
Contributor

(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

alexcrichton added a commit to alexcrichton/rust that referenced this issue Feb 4, 2015
@alexcrichton
Copy link
Member

Oops, sorry about that!

bors added a commit that referenced this issue Feb 10, 2015
These were forgotten reexports from #21718

Closes #21929
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 a pull request may close this issue.

3 participants