mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 15:15:24 +00:00
chore: Prefer tracing span shorthand macros
This commit is contained in:
parent
5f3de7863a
commit
27182bb96b
82 changed files with 240 additions and 275 deletions
|
@ -55,7 +55,7 @@ pub(crate) fn find_all_refs(
|
|||
position: FilePosition,
|
||||
search_scope: Option<SearchScope>,
|
||||
) -> Option<Vec<ReferenceSearchResult>> {
|
||||
let _p = tracing::span!(tracing::Level::INFO, "find_all_refs").entered();
|
||||
let _p = tracing::info_span!("find_all_refs").entered();
|
||||
let syntax = sema.parse(position.file_id).syntax().clone();
|
||||
let make_searcher = |literal_search: bool| {
|
||||
move |def: Definition| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue