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

@@ -2849,11 +2849,6 @@ pub enum TyKind<'hir> {
/// Type parameters may be stored in each `PathSegment`.
Path(QPath<'hir>),
/// An opaque type definition itself. This is only used for `impl Trait`.
///
/// The generic argument list contains the lifetimes (and in the future
/// possibly parameters) that are actually bound on the `impl Trait`.
///
/// The last parameter specifies whether this opaque appears in a trait definition.
OpaqueDef(&'hir OpaqueTy<'hir>),
/// A trait object type `Bound1 + Bound2 + Bound3`
/// where `Bound` is a trait or a lifetime.