Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-ty/src/lib.rs')
| -rw-r--r-- | crates/hir-ty/src/lib.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crates/hir-ty/src/lib.rs b/crates/hir-ty/src/lib.rs index b12ccf7c83..b9f4c57366 100644 --- a/crates/hir-ty/src/lib.rs +++ b/crates/hir-ty/src/lib.rs @@ -612,8 +612,6 @@ has_interner!(ImplTraits); #[derive(PartialEq, Eq, Debug, Hash)] pub struct ImplTrait { - // FIXME: Should be Arc<[QuantifiedWhereClause]>, but the HasInterner impl for Arc is missing a - // ?Sized bound pub(crate) bounds: Binders<Vec<QuantifiedWhereClause>>, } @@ -624,7 +622,7 @@ pub fn static_lifetime() -> Lifetime { } pub fn error_lifetime() -> Lifetime { - LifetimeData::Static.intern(Interner) + LifetimeData::Error.intern(Interner) } pub(crate) fn fold_free_vars<T: HasInterner<Interner = Interner> + TypeFoldable<Interner>>( |