diff options
Diffstat (limited to 'crates/ra_hir_ty/src/traits.rs')
-rw-r--r-- | crates/ra_hir_ty/src/traits.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/crates/ra_hir_ty/src/traits.rs b/crates/ra_hir_ty/src/traits.rs index 786f758e9..f7edb4c8b 100644 --- a/crates/ra_hir_ty/src/traits.rs +++ b/crates/ra_hir_ty/src/traits.rs | |||
@@ -295,13 +295,8 @@ pub enum Impl { | |||
295 | /// A normal impl from an impl block. | 295 | /// A normal impl from an impl block. |
296 | ImplDef(ImplId), | 296 | ImplDef(ImplId), |
297 | /// Closure types implement the Fn traits synthetically. | 297 | /// Closure types implement the Fn traits synthetically. |
298 | // FIXME: implement closure support from Chalk, remove this | ||
298 | ClosureFnTraitImpl(ClosureFnTraitImplData), | 299 | ClosureFnTraitImpl(ClosureFnTraitImplData), |
299 | /// [T; n]: Unsize<[T]> | ||
300 | UnsizeArray, | ||
301 | /// T: Unsize<dyn Trait> where T: Trait | ||
302 | UnsizeToTraitObject(TraitId), | ||
303 | /// dyn Trait: Unsize<dyn SuperTrait> if Trait: SuperTrait | ||
304 | UnsizeToSuperTraitObject(UnsizeToSuperTraitObjectData), | ||
305 | } | 300 | } |
306 | /// This exists just for Chalk, because our ImplIds are only unique per module. | 301 | /// This exists just for Chalk, because our ImplIds are only unique per module. |
307 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] | 302 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] |