aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src
diff options
context:
space:
mode:
authorKirill Bulatov <[email protected]>2020-07-27 20:46:25 +0100
committerKirill Bulatov <[email protected]>2020-08-11 13:09:08 +0100
commitee1586c1ed058ff0f090b552d52fe6bbe2dd7f7f (patch)
tree8cb1dc2bb49f8607b6346eee6ab2d27b7e0f5654 /crates/ra_hir_def/src
parenta61f2445cba2a48bb7ea6c8477e3198b297f3c67 (diff)
Better naming
Diffstat (limited to 'crates/ra_hir_def/src')
-rw-r--r--crates/ra_hir_def/src/diagnostics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir_def/src/diagnostics.rs b/crates/ra_hir_def/src/diagnostics.rs
index 30db48f86..e53269589 100644
--- a/crates/ra_hir_def/src/diagnostics.rs
+++ b/crates/ra_hir_def/src/diagnostics.rs
@@ -18,7 +18,7 @@ impl Diagnostic for UnresolvedModule {
18 fn message(&self) -> String { 18 fn message(&self) -> String {
19 "unresolved module".to_string() 19 "unresolved module".to_string()
20 } 20 }
21 fn source(&self) -> InFile<SyntaxNodePtr> { 21 fn fix_source(&self) -> InFile<SyntaxNodePtr> {
22 InFile::new(self.file, self.decl.clone().into()) 22 InFile::new(self.file, self.decl.clone().into())
23 } 23 }
24 fn as_any(&self) -> &(dyn Any + Send + 'static) { 24 fn as_any(&self) -> &(dyn Any + Send + 'static) {