Skip to content

Commit 7e32b05

Browse files
committed
rustc_lint_defs: Use DefPathHash from rustc_span rather than rustc_hir
1 parent 83f035d commit 7e32b05

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_lint_defs/src

1 file changed

+1
-1
lines changed

compiler/rustc_lint_defs/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ use rustc_data_structures::stable_hasher::{
1010
};
1111
use rustc_error_messages::{DiagArgValue, DiagMessage, IntoDiagArg, MultiSpan};
1212
use rustc_hir::def::Namespace;
13-
use rustc_hir::def_id::DefPathHash;
1413
use rustc_hir_id::{HashStableContext, HirId, ItemLocalId};
1514
use rustc_macros::{Decodable, Encodable, HashStable_Generic};
15+
use rustc_span::def_id::DefPathHash;
1616
pub use rustc_span::edition::Edition;
1717
use rustc_span::{Ident, MacroRulesNormalizedIdent, Span, Symbol, sym};
1818
use serde::{Deserialize, Serialize};

0 commit comments

Comments
 (0)