Evaluate output_filenames
before one of its dependencies gets stolen
This commit is contained in:
parent
261bbd7dba
commit
d924a8ca59
@ -416,6 +416,7 @@ fn compute_hir_hash(
|
||||
|
||||
pub fn lower_to_hir(tcx: TyCtxt<'_>, (): ()) -> hir::Crate<'_> {
|
||||
let sess = tcx.sess;
|
||||
tcx.ensure().output_filenames(());
|
||||
let (mut resolver, krate) = tcx.resolver_for_lowering(()).steal();
|
||||
|
||||
let ast_index = index_crate(&resolver.node_id_to_def_id, &krate);
|
||||
|
Loading…
Reference in New Issue
Block a user