Skip to main content

Crate cairo_lint

Crate cairo_lint 

Source

Modules§

context
diagnostics
lints
plugin

Structs§

CorelibContext
LinterAnalysisDatabase
LinterAnalysisDatabaseBuilder
LinterDiagnosticParams

Statics§

CAIRO_LINT_TOOL_NAME

Traits§

CairoLintGroup
LinterGroup

Functions§

apply_file_fixes
Applies the fixes to the file.
get_fixes
Gets the fixes for a set of a compiler diagnostics (that uses Cairo lint analyzer plugin).
get_separated_fixes
Gets all possible fixes for a set of compiler diagnostics (that uses Cairo lint analyzer plugin) without resolving overlapping fixes. This is needed when you want to see all potential fixes, even if they might conflict with each other.
is_panic_diagnostic
Checks if the diagnostic is a panic diagnostic.

Type Aliases§

CairoLintToolMetadata
Describes tool metadata for the Cairo lint. IMPORTANT: This one is a public type, so watch out when modifying it, as it might break the backwards compatibility.