aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_ty
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-11-28 15:05:28 +0000
committerAleksey Kladov <[email protected]>2019-11-28 16:05:21 +0000
commit8f1f5a783a3ffd0afbf5b1fdf22ff9caf7fda928 (patch)
tree38f32326e41d86d8c8a3c598ff4fbe66c557b4bd /crates/ra_hir_ty
parent2c7f6b573e9b6133cc147a529dd2a23119bb4ae5 (diff)
Move source-related traits to a separate module
Diffstat (limited to 'crates/ra_hir_ty')
-rw-r--r--crates/ra_hir_ty/src/infer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir_ty/src/infer.rs b/crates/ra_hir_ty/src/infer.rs
index 1e9f4b208..f6283ab6d 100644
--- a/crates/ra_hir_ty/src/infer.rs
+++ b/crates/ra_hir_ty/src/infer.rs
@@ -693,7 +693,7 @@ impl Expectation {
693} 693}
694 694
695mod diagnostics { 695mod diagnostics {
696 use hir_def::{expr::ExprId, FunctionId, HasSource, Lookup}; 696 use hir_def::{expr::ExprId, src::HasSource, FunctionId, Lookup};
697 use hir_expand::diagnostics::DiagnosticSink; 697 use hir_expand::diagnostics::DiagnosticSink;
698 698
699 use crate::{db::HirDatabase, diagnostics::NoSuchField}; 699 use crate::{db::HirDatabase, diagnostics::NoSuchField};