pub fn create_resolver(
    sess: Lrc<Session>,
    metadata_loader: Box<MetadataLoaderDyn>,
    krate: &Crate,
    crate_name: &str
) -> BoxedResolver