diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-12-21 11:48:12 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2019-12-21 11:48:12 +0000 |
commit | cdc9d682b066b110e0a44e5f8f1c574b38c16ba9 (patch) | |
tree | d1429d913719f73b4dee771e0c9ce85e871fc54a /crates/ra_hir_def/src/lib.rs | |
parent | 90ef070db3dce0a7acb9cd11d0b0d72de13c9d79 (diff) | |
parent | 2d3fdf3fb52f32ececdfa19df7ab2971a24bae71 (diff) |
Merge #2629
2629: Remove imports from hir r=matklad a=matklad
We only used them to avoid self-confirming completions (`use self::foo`), but that can be handled more locally.
bors r+
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_hir_def/src/lib.rs')
-rw-r--r-- | crates/ra_hir_def/src/lib.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/crates/ra_hir_def/src/lib.rs b/crates/ra_hir_def/src/lib.rs index acd4f4af1..f6c7f38d1 100644 --- a/crates/ra_hir_def/src/lib.rs +++ b/crates/ra_hir_def/src/lib.rs | |||
@@ -52,10 +52,6 @@ use crate::body::Expander; | |||
52 | use crate::builtin_type::BuiltinType; | 52 | use crate::builtin_type::BuiltinType; |
53 | 53 | ||
54 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] | 54 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] |
55 | pub struct LocalImportId(RawId); | ||
56 | impl_arena_id!(LocalImportId); | ||
57 | |||
58 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] | ||
59 | pub struct ModuleId { | 55 | pub struct ModuleId { |
60 | pub krate: CrateId, | 56 | pub krate: CrateId, |
61 | pub local_id: LocalModuleId, | 57 | pub local_id: LocalModuleId, |