about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/check/errs.rs
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2024-02-27 18:11:23 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2024-02-27 18:11:23 +0000
commit8a6d3535f76d17a7a31ebdd4f654f9ca5497463b (patch)
treef79d38247f3e82ceeeb3b3014569b38992c740db /compiler/rustc_hir_analysis/src/check/errs.rs
parent53ed660d47feb01055483fe81b628d5ef9705dbd (diff)
downloadrust-8a6d3535f76d17a7a31ebdd4f654f9ca5497463b.tar.gz
rust-8a6d3535f76d17a7a31ebdd4f654f9ca5497463b.zip
Split rustc_type_ir to avoid rustc_ast from depending on it
Diffstat (limited to 'compiler/rustc_hir_analysis/src/check/errs.rs')
-rw-r--r--compiler/rustc_hir_analysis/src/check/errs.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_hir_analysis/src/check/errs.rs b/compiler/rustc_hir_analysis/src/check/errs.rs
index 4a7ace274c5..c92320bc0fe 100644
--- a/compiler/rustc_hir_analysis/src/check/errs.rs
+++ b/compiler/rustc_hir_analysis/src/check/errs.rs
@@ -1,9 +1,8 @@
 use rustc_hir as hir;
 use rustc_hir_pretty::qpath_to_string;
 use rustc_lint_defs::builtin::STATIC_MUT_REFS;
-use rustc_middle::ty::TyCtxt;
+use rustc_middle::ty::{Mutability, TyCtxt};
 use rustc_span::Span;
-use rustc_type_ir::Mutability;
 
 use crate::errors;