diff options
Diffstat (limited to 'compiler/rustc_hir/src/hir.rs')
| -rw-r--r-- | compiler/rustc_hir/src/hir.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/compiler/rustc_hir/src/hir.rs b/compiler/rustc_hir/src/hir.rs index c57a8e648fb..8531003c6ac 100644 --- a/compiler/rustc_hir/src/hir.rs +++ b/compiler/rustc_hir/src/hir.rs @@ -4415,7 +4415,6 @@ impl ItemKind<'_> { pub struct TraitItemRef { pub id: TraitItemId, pub ident: Ident, - pub kind: AssocItemKind, pub span: Span, } @@ -4429,17 +4428,9 @@ pub struct TraitItemRef { pub struct ImplItemRef { pub id: ImplItemId, pub ident: Ident, - pub kind: AssocItemKind, pub span: Span, } -#[derive(Copy, Clone, PartialEq, Debug, HashStable_Generic)] -pub enum AssocItemKind { - Const, - Fn { has_self: bool }, - Type, -} - // The bodies for items are stored "out of line", in a separate // hashmap in the `Crate`. Here we just record the hir-id of the item // so it can fetched later. |
