diff options
author | Igor Aleksanov <[email protected]> | 2020-10-24 09:39:57 +0100 |
---|---|---|
committer | Igor Aleksanov <[email protected]> | 2020-10-24 09:39:57 +0100 |
commit | 19cce08662222f012a0f50ff73afd4fdd34ca683 (patch) | |
tree | 6561f9a2802caff7b5fe56eeaa0c751bc5015a91 /crates/ide/src/diagnostics/field_shorthand.rs | |
parent | 2c787676c92c81a0c9efeb3e72a91c5132c8106a (diff) |
Re-export base_db from ide_db
Diffstat (limited to 'crates/ide/src/diagnostics/field_shorthand.rs')
-rw-r--r-- | crates/ide/src/diagnostics/field_shorthand.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide/src/diagnostics/field_shorthand.rs b/crates/ide/src/diagnostics/field_shorthand.rs index 54e9fce9e..f41bcd619 100644 --- a/crates/ide/src/diagnostics/field_shorthand.rs +++ b/crates/ide/src/diagnostics/field_shorthand.rs | |||
@@ -1,7 +1,7 @@ | |||
1 | //! Suggests shortening `Foo { field: field }` to `Foo { field }` in both | 1 | //! Suggests shortening `Foo { field: field }` to `Foo { field }` in both |
2 | //! expressions and patterns. | 2 | //! expressions and patterns. |
3 | 3 | ||
4 | use base_db::FileId; | 4 | use ide_db::base_db::FileId; |
5 | use ide_db::source_change::SourceFileEdit; | 5 | use ide_db::source_change::SourceFileEdit; |
6 | use syntax::{ast, match_ast, AstNode, SyntaxNode}; | 6 | use syntax::{ast, match_ast, AstNode, SyntaxNode}; |
7 | use text_edit::TextEdit; | 7 | use text_edit::TextEdit; |