From 0318f07bddd9911cb23d33eb668a911de2a02f3a Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Wed, 20 Jul 2022 10:47:49 -0400 Subject: various nits from review --- compiler/rustc_monomorphize/src/collector.rs | 3 --- 1 file changed, 3 deletions(-) (limited to 'compiler/rustc_monomorphize/src') diff --git a/compiler/rustc_monomorphize/src/collector.rs b/compiler/rustc_monomorphize/src/collector.rs index 86331056d44..68b65658c72 100644 --- a/compiler/rustc_monomorphize/src/collector.rs +++ b/compiler/rustc_monomorphize/src/collector.rs @@ -1428,9 +1428,6 @@ fn collect_miri<'tcx>(tcx: TyCtxt<'tcx>, alloc_id: AllocId, output: &mut MonoIte } } GlobalAlloc::VTable(ty, trait_ref) => { - // FIXME(RJ) no ideas if this is correct. There is this nice - // `create_mono_items_for_vtable_methods` method but I wouldn't know how to call it from - // here. So instead we just generate the actual vtable and recurse. let alloc_id = tcx.vtable_allocation((ty, trait_ref)); collect_miri(tcx, alloc_id, output) } -- cgit 1.4.1-3-g733a5