about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSamuel Moelius <35515885+smoelius@users.noreply.github.com>2022-10-17 03:54:56 -0400
committerGitHub <noreply@github.com>2022-10-17 03:54:56 -0400
commitbf3a29f59065732cfebaba2a186cd70672399df8 (patch)
treea102559e6bfa497b9e0d733a81d04d6347f0d155
parent1536ab1b383f21b38f8d49230a2aecc51daffa3d (diff)
downloadrust-bf3a29f59065732cfebaba2a186cd70672399df8.tar.gz
rust-bf3a29f59065732cfebaba2a186cd70672399df8.zip
Duplicate comment in mod.rs
-rw-r--r--compiler/rustc_middle/src/traits/mod.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/rustc_middle/src/traits/mod.rs b/compiler/rustc_middle/src/traits/mod.rs
index a635e0463e5..e73d44bbb36 100644
--- a/compiler/rustc_middle/src/traits/mod.rs
+++ b/compiler/rustc_middle/src/traits/mod.rs
@@ -598,11 +598,6 @@ pub type SelectionResult<'tcx, T> = Result<Option<T>, SelectionError<'tcx>>;
 ///     // type parameters, ImplSource will carry resolutions for those as well:
 ///     concrete.clone(); // ImplSource(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
-///     // type parameters, ImplSource will carry resolutions for those as well:
-///     concrete.clone(); // ImplSource(Impl_1, [ImplSource(Impl_2, [ImplSource(Impl_3)])])
-///
 ///     // Case B: ImplSource must be provided by caller. This applies when
 ///     // type is a type parameter.
 ///     param.clone();    // ImplSource::Param