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
the LateLintPass
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.From an initial level and source, verify the effect of special annotations:
warnings
lint level and lint caps.The innermost function for emitting lints.
Type Definitions
A tuple of a lint level and its source.