diff options
| author | Ralf Jung <post@ralfj.de> | 2022-07-20 10:47:49 -0400 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2022-07-20 17:12:08 -0400 |
| commit | 0318f07bddd9911cb23d33eb668a911de2a02f3a (patch) | |
| tree | d8c18addb24245c6a8d7ecf32f727a18ac2b34b2 /compiler/rustc_monomorphize/src | |
| parent | 9cbd1066d711ef4b5de00fc105f05ee6a3db9ae9 (diff) | |
| download | rust-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.rs | 3 |
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) } |
