Skip to content

Commit edeee91

Browse files
committed
Auto merge of #82634 - osa1:osa1/remove_old_fixme, r=Mark-Simulacrum
Remove an old FIXME comment and inline attribute Apparently #35870 caused a problem in this code (which originally returned an impl trait) and `#[inline]` was added as a workaround, in ade79d7. The issue is now fixed and the comment and `#[inline]` can now be removed.
2 parents ef0d592 + c4b90df commit edeee91

File tree

1 file changed

+0
-1
lines changed
  • compiler/rustc_trait_selection/src/traits

1 file changed

+0
-1
lines changed

compiler/rustc_trait_selection/src/traits/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,6 @@ fn subst_and_check_impossible_predicates<'tcx>(
455455

456456
/// Given a trait `trait_ref`, iterates the vtable entries
457457
/// that come from `trait_ref`, including its supertraits.
458-
#[inline] // FIXME(#35870): avoid closures being unexported due to `impl Trait`.
459458
fn vtable_methods<'tcx>(
460459
tcx: TyCtxt<'tcx>,
461460
trait_ref: ty::PolyTraitRef<'tcx>,

0 commit comments

Comments
 (0)