Expand description
Errors spanned to the user’s code, for a Conventions impl to report a
name that does not fit.
Structs§
- Errors
- Errors collected while going through a derive’s input (e.g. one per malformed field), so all of them are reported rather than only the first.
Functions§
- abort
- Wraps a message with a helper hint with a
syn::Error. - abort_
call_ site - Wrapper over
abortwith call site hygiene. - abort_
spanned - Span the given syntax tree over a
syn::Error. - both
- Both values, or the errors of every one that failed (in order).
- message
- Properly format a the error message (msg) and the suggested fix (help)