Function rustc_lint::late::unerased_lint_store
source · pub fn unerased_lint_store(tcx: TyCtxt<'_>) -> &LintStore
Expand description
Extract the LintStore
from the query context.
This function exists because we’ve erased LintStore
as dyn Any
in the context.