aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src
diff options
context:
space:
mode:
authorPaul Daniel Faria <[email protected]>2020-06-02 23:58:42 +0100
committerPaul Daniel Faria <[email protected]>2020-06-27 15:16:19 +0100
commit2ca52bbb325d4842d9642fc5f9e368b590c4ce41 (patch)
treed123db8fa4c040deb3696d72a11d8e441dc902be /crates/ra_hir/src
parent2fc92fa28cda858c25fea2e378c2eb73e7f65247 (diff)
Revert ide highlighting changes (addressing on another branch)
Diffstat (limited to 'crates/ra_hir/src')
-rw-r--r--crates/ra_hir/src/code_model.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/crates/ra_hir/src/code_model.rs b/crates/ra_hir/src/code_model.rs
index 9e3b4a2d8..6aa7251b5 100644
--- a/crates/ra_hir/src/code_model.rs
+++ b/crates/ra_hir/src/code_model.rs
@@ -671,10 +671,6 @@ impl Function {
671 db.function_data(self.id).params.clone() 671 db.function_data(self.id).params.clone()
672 } 672 }
673 673
674 pub fn is_unsafe(self, db: &dyn HirDatabase) -> bool {
675 db.function_data(self.id).is_unsafe
676 }
677
678 pub fn diagnostics(self, db: &dyn HirDatabase, sink: &mut DiagnosticSink) { 674 pub fn diagnostics(self, db: &dyn HirDatabase, sink: &mut DiagnosticSink) {
679 let _p = profile("Function::diagnostics"); 675 let _p = profile("Function::diagnostics");
680 let infer = db.infer(self.id.into()); 676 let infer = db.infer(self.id.into());