Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-ty/src/next_solver/region.rs')
-rw-r--r--crates/hir-ty/src/next_solver/region.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/hir-ty/src/next_solver/region.rs b/crates/hir-ty/src/next_solver/region.rs
index 3f0aebac2d..72a25f4df6 100644
--- a/crates/hir-ty/src/next_solver/region.rs
+++ b/crates/hir-ty/src/next_solver/region.rs
@@ -18,6 +18,7 @@ use crate::next_solver::{
use super::{SolverDefId, interner::DbInterner};
pub type RegionKind<'db> = rustc_type_ir::RegionKind<DbInterner<'db>>;
+pub type RegionConstraint<'db> = rustc_type_ir::RegionConstraint<DbInterner<'db>>;
#[derive(Clone, Copy, PartialEq, Eq, Hash)]
pub struct Region<'db> {
@@ -136,7 +137,7 @@ impl<'db> Region<'db> {
}
RegionKind::ReError(..) => {
flags |= TypeFlags::HAS_FREE_REGIONS;
- flags |= TypeFlags::HAS_ERROR;
+ flags |= TypeFlags::HAS_RE_ERROR;
}
}