Review comments.
This commit is contained in:
parent
d804ef8be8
commit
27c958fb44
4 changed files with 2 additions and 158 deletions
|
@ -156,7 +156,7 @@ enum Scope<'a> {
|
|||
/// `fn foo<'a>() -> impl MyTrait<'a> { ... }`
|
||||
///
|
||||
/// HIR tells us that `'a` refer to the lifetime bound on `foo`.
|
||||
/// However, typeck and borrowck for opaques are work based on using a new generics type.
|
||||
/// However, typeck and borrowck for opaques work based on using a new generic type.
|
||||
/// `type MyAnonTy<'b> = impl MyTrait<'b>;`
|
||||
///
|
||||
/// This scope collects the mapping `'a -> 'b`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue