Module rustc_middle::lint
source · Structs§
- This struct represents a lint expectation and holds all required information to emit the
unfulfilled_lint_expectations
lint if it is unfulfilled after theLateLintPass
has completed. - Return type for the
shallow_lint_levels_on
query.
Enums§
- How a lint level was set.
Functions§
- Returns whether
span
originates in a foreign crate’s external macro. - Return whether
span
is generated byasync
orawait
. - The innermost function for emitting lints.
- From an initial level and source, verify the effect of special annotations:
warnings
lint level and lint caps.
Type Aliases§
- A tuple of a lint level and its source.