Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir_expand/src/lib.rs')
-rw-r--r--crates/hir_expand/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_expand/src/lib.rs b/crates/hir_expand/src/lib.rs
index 3bbbb5722f..512cafe69d 100644
--- a/crates/hir_expand/src/lib.rs
+++ b/crates/hir_expand/src/lib.rs
@@ -561,7 +561,7 @@ impl<'a> InFile<&'a SyntaxNode> {
Some(range) => {
let original_file = range.file_id.original_file(db);
if range.file_id != original_file.into() {
- log::error!("Failed mapping up more for {:?}", range);
+ tracing::error!("Failed mapping up more for {:?}", range);
}
Some(FileRange { file_id: original_file, range: range.value })
}