Skip to main content

Module solve_identical_diagnostic_statements

Module solve_identical_diagnostic_statements 

Source

Functions§

solve
MatchIdenticalDiagnosticStatements: pairs up still-unmatched calls/macros that look like they’re meant for the programmer rather than the end user - logging (log::error!, logger.warn(...)), error bailouts (bail!, panic!), assertions, debug printfs - whenever the entire statement is byte-for-byte identical on both sides. See crate::diff::nodes::is_diagnostic_statement for exactly what counts.