pub(crate) fn list_metadata(
    early_dcx: &EarlyDiagCtxt,
    sess: &Session,
    metadata_loader: &dyn MetadataLoader
)