We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28eefb3 commit 1b92e7eCopy full SHA for 1b92e7e
src/librustc_resolve/lifetimes.rs
@@ -203,7 +203,9 @@ enum Scope<'a> {
203
/// Whether or not this binder would serve as the parent
204
/// binder for opaque types introduced within. For example:
205
///
206
+ /// ```text
207
/// fn foo<'a>() -> impl for<'b> Trait<Item = impl Trait2<'a>>
208
+ /// ```
209
210
/// Here, the opaque types we create for the `impl Trait`
211
/// and `impl Trait2` references will both have the `foo` item
0 commit comments