mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-12 05:08:52 +00:00
Update crates/ide/src/moniker.rs
Co-authored-by: David Barsky <me@davidbarsky.com>
This commit is contained in:
parent
eb4543818d
commit
f8ea9cace8
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue