From e9e792f2d7181b4af62af064f801fb60f32022f8 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 12 Mar 2019 12:36:37 +0300 Subject: remove Def --- crates/ra_hir/src/code_model_api.rs | 5 ----- crates/ra_hir/src/lib.rs | 1 - 2 files changed, 6 deletions(-) diff --git a/crates/ra_hir/src/code_model_api.rs b/crates/ra_hir/src/code_model_api.rs index 3ac146950..dd7eeebd0 100644 --- a/crates/ra_hir/src/code_model_api.rs +++ b/crates/ra_hir/src/code_model_api.rs @@ -62,11 +62,6 @@ impl Crate { } } -#[derive(Debug)] -pub enum Def { - Item, -} - #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] pub struct Module { pub(crate) krate: Crate, diff --git a/crates/ra_hir/src/lib.rs b/crates/ra_hir/src/lib.rs index a6e744ea7..ac5f33079 100644 --- a/crates/ra_hir/src/lib.rs +++ b/crates/ra_hir/src/lib.rs @@ -66,7 +66,6 @@ pub use self::{ pub use self::code_model_api::{ Crate, CrateDependency, - Def, Module, ModuleDef, ModuleSource, Problem, Struct, Enum, EnumVariant, Function, FnSignature, -- cgit v1.2.3