Re-exportsยง
use std::cmp::min;๐use rustc_data_structures::fx::FxIndexMap;๐use rustc_data_structures::sorted_map::SortedMap;๐use rustc_errors::Diag;๐use rustc_errors::Diagnostic;๐use rustc_errors::EmissionOverride;๐use rustc_errors::MultiSpan;๐use rustc_hir::HirId;๐use rustc_hir::ItemLocalId;๐use rustc_lint_defs::EditionFcw;๐use rustc_lint_defs::FutureIncompatibilityReason;๐use rustc_lint_defs::Level;๐use rustc_lint_defs::Lint;๐use rustc_lint_defs::LintExpectationId;๐use rustc_lint_defs::LintId;๐use rustc_lint_defs::StableLintExpectationId;๐use rustc_lint_defs::UnstableLintExpectationId;๐use rustc_lint_defs::builtin;๐use rustc_macros::Decodable;๐use rustc_macros::Encodable;๐use rustc_macros::StableHash;๐use rustc_session::Session;๐use rustc_span::DUMMY_SP;๐use rustc_span::ExpnKind;๐use rustc_span::Span;๐use rustc_span::Symbol;๐use rustc_span::kw;๐use tracing::instrument;๐use tracing::instrument;๐use crate::ty::TyCtxt;๐
Structsยง
- Level
Spec - Convenience helper for things that are frequently used together.
- Lint
Expectation - This struct represents a lint expectation and holds all required information
to emit the
unfulfilled_lint_expectationslint if it is unfulfilled after theLateLintPasshas completed. - Shallow
Lint Level Map - Return type for the
shallow_lint_levels_onquery.
Enumsยง
- Lint
Level Source - How a lint level was set.
Functionsยง
- emit_
lint_ base - The innermost function for emitting lints implementing the
Diagnostictrait. - explain_
lint_ ๐level_ source - reveal_
actual_ level_ spec - Verify the effect of special annotations:
warningslint level and lint caps.