Try explaining where Inner
is in the signature better
This commit is contained in:
parent
30f787800a
commit
df4bfd9e97
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue