parent
f437815d91
commit
8cf40c46b2
@ -258,7 +258,7 @@ fn data_id_for_static(
|
||||
) -> DataId {
|
||||
let attrs = tcx.codegen_fn_attrs(def_id);
|
||||
|
||||
let instance = Instance::mono(tcx, def_id).polymorphize(tcx);
|
||||
let instance = Instance::mono(tcx, def_id);
|
||||
let symbol_name = tcx.symbol_name(instance).name;
|
||||
|
||||
if let Some(import_linkage) = attrs.import_linkage {
|
||||
|
Loading…
Reference in New Issue
Block a user