We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Inner
1 parent 30f7878 commit df4bfd9Copy full SHA for df4bfd9
compiler/rustc_hir_analysis/src/check/check.rs
@@ -545,7 +545,7 @@ fn sanity_check_found_hidden_type<'tcx>(
545
/// }
546
/// fn func<'a>(x: &'a ()) -> impl Id<Assoc = impl Sized + 'a> { x }
547
/// // desugared to
548
-/// 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> {
549
/// // Note that in contrast to other nested items, RPIT type aliases can
550
/// // access their parents' generics.
551
///
0 commit comments