Skip to content

Commit c4b90df

Browse files
committed
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.
1 parent 1b1d85f commit c4b90df

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)