Enum impl_tools_lib::autoimpl::Error
source · pub enum Error {
RequireUsing,
CallSite(&'static str),
WithSpan(Span, &'static str),
PathArguments(&'static str),
}
Expand description
Error type
Variants§
RequireUsing
Emit an error clarifying that using self.FIELD
is required
CallSite(&'static str)
Emit an error over the target trait name using message
WithSpan(Span, &'static str)
Emit an error with the given span
and message
PathArguments(&'static str)
Emit an error regarding path arguments