about summary refs log tree commit diff
path: root/compiler/rustc_monomorphize/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2022-07-20 10:47:49 -0400
committerRalf Jung <post@ralfj.de>2022-07-20 17:12:08 -0400
commit0318f07bddd9911cb23d33eb668a911de2a02f3a (patch)
treed8c18addb24245c6a8d7ecf32f727a18ac2b34b2 /compiler/rustc_monomorphize/src
parent9cbd1066d711ef4b5de00fc105f05ee6a3db9ae9 (diff)
downloadrust-0318f07bddd9911cb23d33eb668a911de2a02f3a.tar.gz
rust-0318f07bddd9911cb23d33eb668a911de2a02f3a.zip
various nits from review
Diffstat (limited to 'compiler/rustc_monomorphize/src')
-rw-r--r--compiler/rustc_monomorphize/src/collector.rs3
1 files changed, 0 insertions, 3 deletions
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)
         }