Update crates/ide/src/moniker.rs

Co-authored-by: David Barsky <me@davidbarsky.com>
This commit is contained in:
Michael Sloan 2024-12-27 15:58:32 -07:00 committed by GitHub
parent eb4543818d
commit f8ea9cace8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
}