about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2023-07-25 13:40:04 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2023-07-25 13:40:04 +0000
commitdf4bfd9e9759a9f9d5b1407db23d5881a13612ca (patch)
tree02a98e09c0cb1949219e084e95ddca4fd09008cb
parent30f787800a62077ebb211391320de4aad432b4a6 (diff)
Try explaining where `Inner` is in the signature better
-rw-r--r--compiler/rustc_hir_analysis/src/check/check.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir_analysis/src/check/check.rs b/compiler/rustc_hir_analysis/src/check/check.rs
index 96eb83f3768..58dd0c1b8ab 100644
--- a/compiler/rustc_hir_analysis/src/check/check.rs
+++ b/compiler/rustc_hir_analysis/src/check/check.rs
@@ -545,7 +545,7 @@ fn sanity_check_found_hidden_type<'tcx>(
 /// }
 /// fn func<'a>(x: &'a ()) -> impl Id<Assoc = impl Sized + 'a> { x }
 /// // desugared to
-/// fn func<'a>(x: &'a () -> Outer<'a, Assoc = Inner<'a>> {
+/// fn func<'a>(x: &'a () -> Outer<'a> where <Outer<'a> as Id>::Assoc = Inner<'a> {
 ///     // Note that in contrast to other nested items, RPIT type aliases can
 ///     // access their parents' generics.
 ///