You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
compiles fine with 1.0.204 but produces the following error in 1.0.205:
error[E0004]: non-exhaustive patterns: `<_::<impl Deserialize<'de> for A>::deserialize::__Visitor<'de> as Visitor<'de>>::visit_enum::__Field::__other(_)` not covered
--> src/main.rs:1:10
|
1 | #[derive(serde::Deserialize)]
| ^^^^^^^^^^^^^^^^^^ pattern `<_::<impl Deserialize<'de> for A>::deserialize::__Visitor<'de> as Visitor<'de>>::visit_enum::__Field::__other(_)` not covered
|
note: `<_::<impl Deserialize<'de> for A>::deserialize::__Visitor<'de> as Visitor<'de>>::visit_enum::__Field<'_>` defined here
--> src/main.rs:1:10
|
1 | #[derive(serde::Deserialize)]
| ^^^^^^^^^^^^^^^^^^
| |
| not covered
= note: the matched value is of type `<_::<impl Deserialize<'de> for A>::deserialize::__Visitor<'de> as Visitor<'de>>::visit_enum::__Field<'_>`
= note: this error originates in the derive macro `serde::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
I have bisected the changes, and the issue appears in 32958de
The text was updated successfully, but these errors were encountered:
Mingun
added a commit
to Mingun/serde
that referenced
this issue
Aug 10, 2024
The following (reduction of a less artificial example)
compiles fine with 1.0.204 but produces the following error in 1.0.205:
I have bisected the changes, and the issue appears in 32958de
The text was updated successfully, but these errors were encountered: