Revert ide highlighting changes (addressing on another branch)

This commit is contained in:
Paul Daniel Faria 2020-06-02 18:58:42 -04:00
parent 2fc92fa28c
commit 2ca52bbb32
10 changed files with 10 additions and 104 deletions

View file

@ -671,10 +671,6 @@ impl Function {
db.function_data(self.id).params.clone()
}
pub fn is_unsafe(self, db: &dyn HirDatabase) -> bool {
db.function_data(self.id).is_unsafe
}
pub fn diagnostics(self, db: &dyn HirDatabase, sink: &mut DiagnosticSink) {
let _p = profile("Function::diagnostics");
let infer = db.infer(self.id.into());