Skip to content

Commit 8582bc4

Browse files
committed
Pass MonoItemData to MonoItem::define
1 parent 22d3c0d commit 8582bc4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/base.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,8 @@ pub fn compile_codegen_unit(
223223
}
224224

225225
// ... and now that we have everything pre-defined, fill out those definitions.
226-
for &(mono_item, _) in &mono_items {
227-
mono_item.define::<Builder<'_, '_, '_>>(&cx);
226+
for &(mono_item, item_data) in &mono_items {
227+
mono_item.define::<Builder<'_, '_, '_>>(&cx, item_data);
228228
}
229229

230230
// If this codegen unit contains the main function, also create the

0 commit comments

Comments
 (0)