Type Definition serde_tokenstream::Error

source ·
pub type Error = Error;
Expand description

Alias for syn::Error.

syn::Error already does the heavy lifting of massaging errors for consumption by the compiler so we lean on that report deserialization errors so that the compiler reports and renders them appropriately.