about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2025-08-14 01:35:25 -0700
committerJosh Triplett <josh@joshtriplett.org>2025-08-20 15:04:00 -0700
commit6cb9dd563cf6cde5959c3c439b90e1a832c7cef9 (patch)
tree06d0a6359b4ff97f6a641f2d0d67cd8ebd33d196
parente46ec741a1ec33add22106b4b1f392bcd69ad859 (diff)
rustc_lint_defs: Use `DefPathHash` from `rustc_span` rather than `rustc_hir`
-rw-r--r--compiler/rustc_lint_defs/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lint_defs/src/lib.rs b/compiler/rustc_lint_defs/src/lib.rs
index 14a95789951..faf767170a7 100644
--- a/compiler/rustc_lint_defs/src/lib.rs
+++ b/compiler/rustc_lint_defs/src/lib.rs
@@ -10,9 +10,9 @@ use rustc_data_structures::stable_hasher::{
 };
 use rustc_error_messages::{DiagArgValue, DiagMessage, IntoDiagArg, MultiSpan};
 use rustc_hir::def::Namespace;
-use rustc_hir::def_id::DefPathHash;
 use rustc_hir_id::{HashStableContext, HirId, ItemLocalId};
 use rustc_macros::{Decodable, Encodable, HashStable_Generic};
+use rustc_span::def_id::DefPathHash;
 pub use rustc_span::edition::Edition;
 use rustc_span::{Ident, MacroRulesNormalizedIdent, Span, Symbol, sym};
 use serde::{Deserialize, Serialize};