Make untracked.cstore lockable so that resolution can still write to it when using TyCtxt
This commit is contained in:
@@ -215,6 +215,9 @@ impl<'tcx> Queries<'tcx> {
|
||||
ast_lowering: untracked_resolver_for_lowering,
|
||||
} = resolver_outputs;
|
||||
|
||||
// Make sure we don't mutate the cstore from here on.
|
||||
std::mem::forget(untracked.cstore.read());
|
||||
|
||||
let gcx = passes::create_global_ctxt(
|
||||
self.compiler,
|
||||
lint_store,
|
||||
|
||||
Reference in New Issue
Block a user