Skip to main content

Module diagnostics

Module diagnostics 

Source
Expand description

Type inference-based diagnostics.

Modulesยง

decl_check ๐Ÿ”’
Provides validators for names of declarations.
expr ๐Ÿ”’
Various diagnostics for expressions that are collected together in one pass through the body using inference results: mismatched arg counts, missing fields, etc.
match_check ๐Ÿ”’
Validation of matches.
unsafe_check ๐Ÿ”’
Provides validations for unsafe code. Currently checks if unsafe functions are missing unsafe blocks.

Structsยง

IncorrectCase

Enumsยง

BodyValidationDiagnostic
CaseType
InsideUnsafeBlock
UnsafetyReason

Functionsยง

incorrect_case
missing_unsafe
record_literal_missing_fields
record_pattern_missing_fields
unsafe_operations
unsafe_operations_for_body