提交 5fa240e9 编写于 作者: N Niko Matsakis

rename `constraint_set` to `constraints`

also promote to its own directory, make local to nll
上级 d54e7e32
......@@ -45,7 +45,7 @@
crate mod type_check;
mod universal_regions;
crate mod constraint_set;
mod constraints;
use self::facts::AllFacts;
use self::region_infer::RegionInferenceContext;
......
......@@ -17,7 +17,7 @@
use std::borrow::Cow;
use std::io::{self, Write};
use super::*;
use borrow_check::nll::constraint_set::OutlivesConstraint;
use borrow_check::nll::constraints::OutlivesConstraint;
impl<'tcx> RegionInferenceContext<'tcx> {
......
......@@ -9,7 +9,7 @@
// except according to those terms.
use super::universal_regions::UniversalRegions;
use borrow_check::nll::constraint_set::{
use borrow_check::nll::constraints::{
ConstraintIndex, ConstraintGraph, ConstraintSet, OutlivesConstraint
};
use borrow_check::nll::type_check::Locations;
......
......@@ -9,12 +9,11 @@
// except according to those terms.
use borrow_check::location::LocationTable;
use borrow_check::nll::constraint_set::OutlivesConstraint;
use borrow_check::nll::constraints::{ConstraintSet, OutlivesConstraint};
use borrow_check::nll::facts::AllFacts;
use borrow_check::nll::region_infer::{RegionTest, TypeTest};
use borrow_check::nll::type_check::Locations;
use borrow_check::nll::universal_regions::UniversalRegions;
use borrow_check::nll::constraint_set::ConstraintSet;
use rustc::infer::canonical::QueryRegionConstraint;
use rustc::infer::outlives::obligations::{TypeOutlives, TypeOutlivesDelegate};
use rustc::infer::region_constraints::{GenericKind, VerifyBound};
......
......@@ -13,7 +13,7 @@
use borrow_check::borrow_set::BorrowSet;
use borrow_check::location::LocationTable;
use borrow_check::nll::constraint_set::{ConstraintSet, OutlivesConstraint};
use borrow_check::nll::constraints::{ConstraintSet, OutlivesConstraint};
use borrow_check::nll::facts::AllFacts;
use borrow_check::nll::region_infer::{ClosureRegionRequirementsExt, TypeTest};
use borrow_check::nll::universal_regions::UniversalRegions;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册