Function rustc_interface::passes::register_plugins[][src]

pub fn register_plugins<'a>(
    sess: &'a Session,
    metadata_loader: &'a dyn MetadataLoader,
    register_lints: impl Fn(&Session, &mut LintStore),
    krate: Crate,
    crate_name: &str
) -> Result<(Crate, Lrc<LintStore>)>