Skip to main content

Module lint

Module lint 

Source

Structs§

LevelSpec
Convenience helper for things that are frequently used together.
LintExpectation
This struct represents a lint expectation and holds all required information to emit the unfulfilled_lint_expectations lint if it is unfulfilled after the LateLintPass has completed.
ShallowLintLevelMap
Return type for the shallow_lint_levels_on query.

Enums§

LintLevelSource
How a lint level was set.

Functions§

emit_lint_base
The innermost function for emitting lints implementing the Diagnostic trait.
explain_lint_level_source 🔒
reveal_actual_level_spec
Verify the effect of special annotations: warnings lint level and lint caps.