diff options
| -rw-r--r-- | src/librustc_resolve/lifetimes.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librustc_resolve/lifetimes.rs b/src/librustc_resolve/lifetimes.rs index 3bcd104246d..5e099dba897 100644 --- a/src/librustc_resolve/lifetimes.rs +++ b/src/librustc_resolve/lifetimes.rs @@ -203,7 +203,9 @@ enum Scope<'a> { /// Whether or not this binder would serve as the parent /// binder for opaque types introduced within. For example: /// + /// ```text /// fn foo<'a>() -> impl for<'b> Trait<Item = impl Trait2<'a>> + /// ``` /// /// Here, the opaque types we create for the `impl Trait` /// and `impl Trait2` references will both have the `foo` item |
