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(_) => { Err(_) => {
let fallback_result = it.display(db, edition).to_string(); let fallback_result = it.display(db, edition).to_string();
tracing::error!( tracing::error!(
"display_source_code failed. Falling back to using display, which has result: {}", display = %fallback_result, "`display_source_code` failed; falling back to using display"
fallback_result
); );
fallback_result fallback_result
} }