From 5cf954f932cef4326b09af2b93a9fc8b63f35600 Mon Sep 17 00:00:00 2001 From: Paul Trojahn Date: Fri, 9 Jul 2021 18:26:28 +0200 Subject: [PATCH] Revert the revert of renaming traits::VTable to ImplSource As #72114 and #73055 were merged so closely together I think this accidentally happened while rebasing --- compiler/rustc_middle/src/traits/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/rustc_middle/src/traits/mod.rs b/compiler/rustc_middle/src/traits/mod.rs index c9b73c682098b..892a29e4e22c7 100644 --- a/compiler/rustc_middle/src/traits/mod.rs +++ b/compiler/rustc_middle/src/traits/mod.rs @@ -426,10 +426,10 @@ pub type SelectionResult<'tcx, T> = Result, SelectionError<'tcx>>; /// impl Clone for i32 { ... } // Impl_3 /// /// fn foo(concrete: Option>, param: T, mixed: Option) { -/// // Case A: Vtable points at a specific impl. Only possible when +/// // Case A: ImplSource points at a specific impl. Only possible when /// // type is concretely known. If the impl itself has bounded -/// // type parameters, Vtable will carry resolutions for those as well: -/// concrete.clone(); // Vtable(Impl_1, [Vtable(Impl_2, [Vtable(Impl_3)])]) +/// // type parameters, ImplSource will carry resolutions for those as well: +/// concrete.clone(); // ImpleSource(Impl_1, [ImplSource(Impl_2, [ImplSource(Impl_3)])]) /// /// // Case A: ImplSource points at a specific impl. Only possible when /// // type is concretely known. If the impl itself has bounded