Skip to main content

Module diagnostic

Module diagnostic 

Source

Structs§

RelatedSpanLabel

Functions§

edit_distance
Compute the Levenshtein edit distance between two strings.
find_closest_match
Find the closest match to name among candidates, within max_dist edits.
parser_error_help
parser_error_label
parser_error_message
render_diagnostic
Render a Rust-style diagnostic message.
render_diagnostic_with_related
render_type_diagnostic