From f8ea9cace8c4f5d10b2b8af70d0f02c97d5ae8f5 Mon Sep 17 00:00:00 2001 From: Michael Sloan Date: Fri, 27 Dec 2024 15:58:32 -0700 Subject: [PATCH] Update crates/ide/src/moniker.rs Co-authored-by: David Barsky --- crates/ide/src/moniker.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/ide/src/moniker.rs b/crates/ide/src/moniker.rs index 2664f5d813..466969c829 100644 --- a/crates/ide/src/moniker.rs +++ b/crates/ide/src/moniker.rs @@ -415,8 +415,7 @@ fn display( Err(_) => { let fallback_result = it.display(db, edition).to_string(); tracing::error!( - "display_source_code failed. Falling back to using display, which has result: {}", - fallback_result + display = %fallback_result, "`display_source_code` failed; falling back to using display" ); fallback_result }