Expand description
Diagnostic messages (errors, warnings, notes)
This module provides types for reporting compiler diagnostics to the user.
Structs§
- Diagnostic
- A compiler diagnostic
- Label
- A label within a diagnostic (highlights a specific span)
Enums§
- Label
Style - Severity
- Severity level of a diagnostic
Functions§
- edit_
distance - Compute the Levenshtein edit distance between two strings.
- suggest_
similar - Find the most similar string from a list of candidates.