diff options
| author | Jimmy Brisson <theotherjimmy@gmail.com> | 2017-10-09 10:41:19 -0500 |
|---|---|---|
| committer | Jimmy Brisson <theotherjimmy@gmail.com> | 2017-10-13 09:34:13 -0500 |
| commit | 2160bab0dac479e72f49932c1c71cb3d01f4e9f6 (patch) | |
| tree | a182f7efeebc284dd60a86243d5904847ed295fb | |
| parent | 81f9d4e78f3bc17bc803c793ecac43861ee5eed5 (diff) | |
| download | rust-2160bab0dac479e72f49932c1c71cb3d01f4e9f6.tar.gz rust-2160bab0dac479e72f49932c1c71cb3d01f4e9f6.zip | |
Remove export of vtable_methods
| -rw-r--r-- | src/librustc/traits/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/traits/mod.rs b/src/librustc/traits/mod.rs index 53a974a4bbb..1fddb186417 100644 --- a/src/librustc/traits/mod.rs +++ b/src/librustc/traits/mod.rs @@ -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 /// that come from `trait_ref`, including its supertraits. #[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>, trait_ref: ty::PolyTraitRef<'tcx>) -> Rc<Vec<Option<(DefId, &'tcx Substs<'tcx>)>>> |
