aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/diagnostics.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir/src/diagnostics.rs')
-rw-r--r--crates/ra_hir/src/diagnostics.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_hir/src/diagnostics.rs b/crates/ra_hir/src/diagnostics.rs
index 4b7b2dbee..2557ef18e 100644
--- a/crates/ra_hir/src/diagnostics.rs
+++ b/crates/ra_hir/src/diagnostics.rs
@@ -87,7 +87,7 @@ impl Diagnostic for NoSuchField {
87 fn syntax_node_ptr(&self) -> SyntaxNodePtr { 87 fn syntax_node_ptr(&self) -> SyntaxNodePtr {
88 self.field.into() 88 self.field.into()
89 } 89 }
90 fn as_any(&self) -> &(Any + Send + 'static) { 90 fn as_any(&self) -> &(dyn Any + Send + 'static) {
91 self 91 self
92 } 92 }
93} 93}
@@ -109,7 +109,7 @@ impl Diagnostic for UnresolvedModule {
109 fn syntax_node_ptr(&self) -> SyntaxNodePtr { 109 fn syntax_node_ptr(&self) -> SyntaxNodePtr {
110 self.decl.into() 110 self.decl.into()
111 } 111 }
112 fn as_any(&self) -> &(Any + Send + 'static) { 112 fn as_any(&self) -> &(dyn Any + Send + 'static) {
113 self 113 self
114 } 114 }
115} 115}