| ... | ... | @@ -3461,7 +3461,7 @@ fn updateConstInner(dwarf: *Dwarf, pt: Zcu.PerThread, debug_const_index: link.Co |
| 3461 | 3461 | // without trying to tie them to a bogus source location. |
| 3462 | 3462 | const src_loc: Zcu.LazySrcLoc = .{ |
| 3463 | 3463 | .base_node_inst = inst: { |
| 3464 | | const mod_root_file_index = zcu.module_roots.get(dwarf.getUnitModule(unit)).?.unwrap().?; |
| 3464 | const mod_root_file_index = zcu.module_roots.get(zcu.std_mod).?.unwrap().?; |
| 3465 | 3465 | const mod_root_type_index = zcu.fileRootType(mod_root_file_index); |
| 3466 | 3466 | break :inst ip.loadStructType(mod_root_type_index).zir_index; |
| 3467 | 3467 | }, |