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