Skip to content

Commit 2160bab

Browse files
committed
Remove export of vtable_methods
1 parent 81f9d4e commit 2160bab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/traits/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ pub fn normalize_and_test_predicates<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
650650
/// Given a trait `trait_ref`, iterates the vtable entries
651651
/// that come from `trait_ref`, including its supertraits.
652652
#[inline] // FIXME(#35870) Avoid closures being unexported due to impl Trait.
653-
pub fn vtable_methods<'a, 'tcx>(
653+
fn vtable_methods<'a, 'tcx>(
654654
tcx: TyCtxt<'a, 'tcx, 'tcx>,
655655
trait_ref: ty::PolyTraitRef<'tcx>)
656656
-> Rc<Vec<Option<(DefId, &'tcx Substs<'tcx>)>>>

0 commit comments

Comments
 (0)