We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f437815 commit 8cf40c4Copy full SHA for 8cf40c4
src/constant.rs
@@ -258,7 +258,7 @@ fn data_id_for_static(
258
) -> DataId {
259
let attrs = tcx.codegen_fn_attrs(def_id);
260
261
- let instance = Instance::mono(tcx, def_id).polymorphize(tcx);
+ let instance = Instance::mono(tcx, def_id);
262
let symbol_name = tcx.symbol_name(instance).name;
263
264
if let Some(import_linkage) = attrs.import_linkage {
0 commit comments