rustc_lint::late

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.