pub(crate) fn create_lint_store(
    sess: &Session,
    metadata_loader: &dyn MetadataLoader,
    register_lints: Option<impl Fn(&Session, &mut LintStore)>,
    pre_configured_attrs: &[Attribute]
) -> LintStore