aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-03-12 09:38:24 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-03-12 09:38:24 +0000
commitd80df85d11486041a41e254a764b216de3b1549e (patch)
tree3f4e5757d1d3c5a14973d536e619bd62efee942e /crates
parentf96df105ea6d27f295cc1c0a6cdb6c50979f67ed (diff)
parente9e792f2d7181b4af62af064f801fb60f32022f8 (diff)
Merge #962
962: remove Def r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_hir/src/code_model_api.rs5
-rw-r--r--crates/ra_hir/src/lib.rs1
2 files changed, 0 insertions, 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 {
62 } 62 }
63} 63}
64 64
65#[derive(Debug)]
66pub enum Def {
67 Item,
68}
69
70#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] 65#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
71pub struct Module { 66pub struct Module {
72 pub(crate) krate: Crate, 67 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::{
66 66
67pub use self::code_model_api::{ 67pub use self::code_model_api::{
68 Crate, CrateDependency, 68 Crate, CrateDependency,
69 Def,
70 Module, ModuleDef, ModuleSource, Problem, 69 Module, ModuleDef, ModuleSource, Problem,
71 Struct, Enum, EnumVariant, 70 Struct, Enum, EnumVariant,
72 Function, FnSignature, 71 Function, FnSignature,