Module diagnostics

Source

Structs§

BestFailure 🔒
CollectTrackerAndEmitter 🔒
The tracker used for the slow error path that collects useful info for diagnostics.
FailureForwarder 🔒
Currently used by macro_rules! compilation to extract a little information from the Failure case.

Enums§

ExplainDocComment 🔒

Functions§

annotate_doc_comment 🔒
annotate_err_with_kind 🔒
emit_frag_parse_err 🔒
failed_to_match_macro 🔒
parse_failure_msg 🔒
Generates an appropriate parsing failure message. For EOF, this is “unexpected end…”. For other tokens, this is “unexpected token…”.