DefaultMetadataLoader was changed to private, making it difficult to print out metadata #133510
Labels
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Hi,
A recent commit bdacdfe made the
DefaultMetadataLoader
struct private to the crate.This makes it impossible to print out the crate metadata using the given functions unless I define my own struct which implements the
MetadataLoader
trait. I'm currently just trying to understand the metadata file better, and am working with an older version of the Rust compiler so that I can access this type. I'm wondering why this type was made private.Here is the code I'm using which works with an older version of the compiler:
The text was updated successfully, but these errors were encountered: