fn load_plugin(
    plugins: &mut Vec<fn(_: &mut Registry<'_>)>,
    sess: &Session,
    metadata_loader: &dyn MetadataLoader,
    ident: Ident
)