Function rustc_interface::passes::create_global_ctxt
source ยท pub(crate) fn create_global_ctxt<'tcx>(
compiler: &'tcx Compiler,
krate: Crate,
gcx_cell: &'tcx OnceLock<GlobalCtxt<'tcx>>,
arena: &'tcx WorkerLocal<Arena<'tcx>>,
hir_arena: &'tcx WorkerLocal<Arena<'tcx>>,
) -> Result<&'tcx GlobalCtxt<'tcx>>