|
38 | let key = map.next_key()?;
| ^^^
...
43 | de::Unexpected::Str(key.as_str()),
| --- type must be known at this point
|
help: consider giving `key` an explicit type, where the placeholders `_` are specified
|
38 | let key: std::option::Option<K> = map.next_key()?;
| ++++++++++++++++++++++++
We should check both the exhaustive and non-exhaustive cases.
We should check both the exhaustive and non-exhaustive cases.