Skip to content
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

Bounds on std::error::Error implementation for ParseError<P> too restrictive #33

Closed
bsteinb opened this issue Jun 15, 2015 · 2 comments
Closed

Comments

@bsteinb
Copy link

bsteinb commented Jun 15, 2015

Commit 1e500c6 changed the bounds on the implementation of std::error::Error for ParseError<P>. It now requires, among others, P::Position: Positioner which I think is unnecessarily restrictive and in fact not the case for existing instances of P, e.g. char and u8.

@Marwes
Copy link
Owner

Marwes commented Jun 15, 2015

Thanks for noticing the typo.

Fixed in 7f86f3b

@Marwes Marwes closed this as completed Jun 15, 2015
@Marwes
Copy link
Owner

Marwes commented Jun 15, 2015

And I will publish 0.5.1 once travis finishes testing.

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