Module diagnostics Copy item path Source CheckId Identifies a single step DiagCtxInner 🔒 FinishedCheck RunningCheck Represents a single tidy check, identified by its name, running. StderrForUnitTests 🔒 An implementation of io::Write and termcolor::WriteColor that writes
to stderr via eprint!, so that the output can be properly captured when
running tidy’s unit tests. TidyCtx Collects diagnostics from all tidy steps, and contains shared information
that determines how should message and logs be presented. TidyFlags CLI flags used by tidy. COLOR_ERROR COLOR_SUCCESS COLOR_WARNING output_message Output a message to stderr.
The message can be optionally scoped to a certain check, and it can also have a certain color.