diff options
Diffstat (limited to 'crates/hir_def/src/item_tree.rs')
-rw-r--r-- | crates/hir_def/src/item_tree.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/crates/hir_def/src/item_tree.rs b/crates/hir_def/src/item_tree.rs index 5eb7cae7f..100dbf5d6 100644 --- a/crates/hir_def/src/item_tree.rs +++ b/crates/hir_def/src/item_tree.rs | |||
@@ -12,7 +12,7 @@ use std::{ | |||
12 | }; | 12 | }; |
13 | 13 | ||
14 | use arena::{Arena, Idx, RawId}; | 14 | use arena::{Arena, Idx, RawId}; |
15 | use ast::{AstNode, AttrsOwner, NameOwner, StructKind}; | 15 | use ast::{AstNode, NameOwner, StructKind}; |
16 | use base_db::CrateId; | 16 | use base_db::CrateId; |
17 | use either::Either; | 17 | use either::Either; |
18 | use hir_expand::{ | 18 | use hir_expand::{ |
@@ -495,7 +495,6 @@ pub struct Import { | |||
495 | pub alias: Option<ImportAlias>, | 495 | pub alias: Option<ImportAlias>, |
496 | pub visibility: RawVisibilityId, | 496 | pub visibility: RawVisibilityId, |
497 | pub is_glob: bool, | 497 | pub is_glob: bool, |
498 | pub is_prelude: bool, | ||
499 | /// AST ID of the `use` or `extern crate` item this import was derived from. Note that many | 498 | /// AST ID of the `use` or `extern crate` item this import was derived from. Note that many |
500 | /// `Import`s can map to the same `use` item. | 499 | /// `Import`s can map to the same `use` item. |
501 | pub ast_id: FileAstId<ast::Use>, | 500 | pub ast_id: FileAstId<ast::Use>, |
@@ -511,8 +510,6 @@ pub struct ExternCrate { | |||
511 | pub name: Name, | 510 | pub name: Name, |
512 | pub alias: Option<ImportAlias>, | 511 | pub alias: Option<ImportAlias>, |
513 | pub visibility: RawVisibilityId, | 512 | pub visibility: RawVisibilityId, |
514 | /// Whether this is a `#[macro_use] extern crate ...`. | ||
515 | pub is_macro_use: bool, | ||
516 | pub ast_id: FileAstId<ast::ExternCrate>, | 513 | pub ast_id: FileAstId<ast::ExternCrate>, |
517 | } | 514 | } |
518 | 515 | ||