diff options
Diffstat (limited to 'crates/ra_ide/src/inlay_hints.rs')
-rw-r--r-- | crates/ra_ide/src/inlay_hints.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/ra_ide/src/inlay_hints.rs b/crates/ra_ide/src/inlay_hints.rs index 1bacead63..920b04e8d 100644 --- a/crates/ra_ide/src/inlay_hints.rs +++ b/crates/ra_ide/src/inlay_hints.rs | |||
@@ -1,6 +1,5 @@ | |||
1 | use hir::{Adt, Callable, HirDisplay, Semantics, Type}; | 1 | use hir::{Adt, Callable, HirDisplay, Semantics, Type}; |
2 | use ra_ide_db::RootDatabase; | 2 | use ra_ide_db::RootDatabase; |
3 | use ra_prof::profile; | ||
4 | use ra_syntax::{ | 3 | use ra_syntax::{ |
5 | ast::{self, ArgListOwner, AstNode}, | 4 | ast::{self, ArgListOwner, AstNode}, |
6 | match_ast, Direction, NodeOrToken, SmolStr, SyntaxKind, TextRange, T, | 5 | match_ast, Direction, NodeOrToken, SmolStr, SyntaxKind, TextRange, T, |
@@ -64,7 +63,7 @@ pub(crate) fn inlay_hints( | |||
64 | file_id: FileId, | 63 | file_id: FileId, |
65 | config: &InlayHintsConfig, | 64 | config: &InlayHintsConfig, |
66 | ) -> Vec<InlayHint> { | 65 | ) -> Vec<InlayHint> { |
67 | let _p = profile("inlay_hints"); | 66 | let _p = profile::span("inlay_hints"); |
68 | let sema = Semantics::new(db); | 67 | let sema = Semantics::new(db); |
69 | let file = sema.parse(file_id); | 68 | let file = sema.parse(file_id); |
70 | 69 | ||