1
Fork 0

Review comments.

This commit is contained in:
Camille GILLOT 2024-10-26 17:34:28 +00:00
parent d804ef8be8
commit 27c958fb44
4 changed files with 2 additions and 158 deletions

View file

@ -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`.