Skip to content

std::net::AddrParseError doesn't implement std::error::Error #27973

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
JCRPaquin opened this issue Aug 24, 2015 · 1 comment
Closed

std::net::AddrParseError doesn't implement std::error::Error #27973

JCRPaquin opened this issue Aug 24, 2015 · 1 comment

Comments

@JCRPaquin
Copy link

I was writing a generic argument parse validator for my program, which involved matching errors from FromStr::parse. After constraining the error type to Error, I ran into an issue when creating a validator for parsing IP addresses:

main.rs:48:24: 48:47 error: the trait `std::error::Error` is not implemented for the type
 `std::net::parser::AddrParseError` [E0277]
sfackler added a commit to sfackler/rust that referenced this issue Aug 24, 2015
@sfackler
Copy link
Member

Fixed in #27976

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

No branches or pull requests

2 participants