Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow to run assert_de_tokens_error on token sequence that is not exp…
…ected by enum deserializer Before that fix following code panics, because `Token::Unit` was unexpected by test deserializer: ``` #[derive(Deserialize)] enum E { ... } assert_de_tokens_error::<E>(&[Token::Unit], "..."); ```
- Loading branch information