mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-22 13:34:47 +00:00
Remove export of vtable_methods
This commit is contained in:
parent
81f9d4e78f
commit
2160bab0da
@ -650,7 +650,7 @@ pub fn normalize_and_test_predicates<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
|
|||||||
/// Given a trait `trait_ref`, iterates the vtable entries
|
/// Given a trait `trait_ref`, iterates the vtable entries
|
||||||
/// that come from `trait_ref`, including its supertraits.
|
/// that come from `trait_ref`, including its supertraits.
|
||||||
#[inline] // FIXME(#35870) Avoid closures being unexported due to impl Trait.
|
#[inline] // FIXME(#35870) Avoid closures being unexported due to impl Trait.
|
||||||
pub fn vtable_methods<'a, 'tcx>(
|
fn vtable_methods<'a, 'tcx>(
|
||||||
tcx: TyCtxt<'a, 'tcx, 'tcx>,
|
tcx: TyCtxt<'a, 'tcx, 'tcx>,
|
||||||
trait_ref: ty::PolyTraitRef<'tcx>)
|
trait_ref: ty::PolyTraitRef<'tcx>)
|
||||||
-> Rc<Vec<Option<(DefId, &'tcx Substs<'tcx>)>>>
|
-> Rc<Vec<Option<(DefId, &'tcx Substs<'tcx>)>>>
|
||||||
|
Loading…
Reference in New Issue
Block a user