diff options
Diffstat (limited to 'crates/ra_hir/src')
-rw-r--r-- | crates/ra_hir/src/code_model.rs | 4 |
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()); |