Skip to content

Commit

Permalink
Update crates/ide/src/moniker.rs
Browse files Browse the repository at this point in the history
Co-authored-by: David Barsky <me@davidbarsky.com>
  • Loading branch information
mgsloan and davidbarsky authored Dec 27, 2024
1 parent a239113 commit 77d5645
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/tools/rust-analyzer/crates/ide/src/moniker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -415,8 +415,7 @@ fn display<T: HirDisplay>(
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
}
Expand Down

0 comments on commit 77d5645

Please sign in to comment.