From 45f4a1e559f11054fd567be24d91b5559b76a397 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Fri, 21 May 2021 21:08:06 +0200 Subject: Remove `StructDefKind` --- crates/hir_def/src/item_tree.rs | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'crates/hir_def/src/item_tree.rs') diff --git a/crates/hir_def/src/item_tree.rs b/crates/hir_def/src/item_tree.rs index 797b905d1..7440e7d29 100644 --- a/crates/hir_def/src/item_tree.rs +++ b/crates/hir_def/src/item_tree.rs @@ -560,17 +560,6 @@ pub struct Struct { pub generic_params: Interned, pub fields: Fields, pub ast_id: FileAstId, - pub kind: StructDefKind, -} - -#[derive(Debug, Clone, Eq, PartialEq)] -pub enum StructDefKind { - /// `struct S { ... }` - type namespace only. - Record, - /// `struct S(...);` - Tuple, - /// `struct S;` - Unit, } #[derive(Debug, Clone, Eq, PartialEq)] -- cgit v1.2.3