Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix misleading error message on UnexpectedType
It's currently named "Unexpected litteral type", but it can also be instantiated when not parsing a litteral, e.g. https://github.com/TedDriggs/darling/blob/224a866727cd9e40c2cd80430852b1ea0deeb40e/core/src/error/mod.rs#L152 This specifically made investigation of #263 more difficult.
- Loading branch information