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

fuzz fails due to unreachable_patterns errors #590

Open
jakoschiko opened this issue Aug 13, 2024 · 0 comments
Open

fuzz fails due to unreachable_patterns errors #590

jakoschiko opened this issue Aug 13, 2024 · 0 comments

Comments

@jakoschiko
Copy link
Collaborator

With the current nightly Rust toolchain fuzz doesn't work anymore due to compile errors:

error: unreachable pattern
  --> imap-types/src/arbitrary.rs:33:21
   |
33 |                     Err(_) => Err(arbitrary::Error::IncorrectFormat),
   |                     ^^^^^^
...
66 | impl_arbitrary_try_from! { Capability<'a>, Atom<'a> }
   | ----------------------------------------------------- in this macro invocation                                                
   |
   = note: this pattern matches no values because `Infallible` is uninhabited
   = note: `-D unreachable-patterns` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(unreachable_patterns)]`
   = note: this error originates in the macro `impl_arbitrary_try_from` (in Nightly builds, run with -Z macro-backtrace for more info)
fe.de/"

This seems to be caused by this PR rust-lang/rust#122792. Also see rust-lang/rust#129031.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant