Unnamed repository; edit this file 'description' to name the repository.
Update crates/ide/src/moniker.rs
Co-authored-by: David Barsky <[email protected]>
Michael Sloan 2024-12-28
parent d650daa · commit eb45438
-rw-r--r--crates/ide/src/moniker.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/ide/src/moniker.rs b/crates/ide/src/moniker.rs
index adb4850338..2664f5d813 100644
--- a/crates/ide/src/moniker.rs
+++ b/crates/ide/src/moniker.rs
@@ -353,8 +353,7 @@ fn def_to_non_local_moniker(
Definition::Module(module) if module.is_crate_root() => {}
_ => {
tracing::error!(
- "Encountered enclosing definition with no name: {:?}",
- def
+ ?def, "Encountered enclosing definition with no name"
);
}
}