rustc_lint

Function unerased_lint_store

Source
pub fn unerased_lint_store(sess: &Session) -> &LintStore
Expand description

Extract the LintStore from [Session].

This function exists because [Session::lint_store] is type-erased.