1use proc_macro2::Span; 2pub use to_syn_error_derive::*; 3 4pub trait ToSynError { 5 fn to_syn_error(&self, span: Span) -> syn::Error; 6}