Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
int
Rust
提交
5fa240e9
R
Rust
项目概览
int
/
Rust
接近 1 年 前同步成功
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
Rust
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
5fa240e9
编写于
7月 01, 2018
作者:
N
Niko Matsakis
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
rename `constraint_set` to `constraints`
also promote to its own directory, make local to nll
上级
d54e7e32
变更
6
显示空白变更内容
内联
并排
Showing
6 changed file
with
5 addition
and
6 deletion
+5
-6
src/librustc_mir/borrow_check/nll/constraints/mod.rs
src/librustc_mir/borrow_check/nll/constraints/mod.rs
+0
-0
src/librustc_mir/borrow_check/nll/mod.rs
src/librustc_mir/borrow_check/nll/mod.rs
+1
-1
src/librustc_mir/borrow_check/nll/region_infer/graphviz.rs
src/librustc_mir/borrow_check/nll/region_infer/graphviz.rs
+1
-1
src/librustc_mir/borrow_check/nll/region_infer/mod.rs
src/librustc_mir/borrow_check/nll/region_infer/mod.rs
+1
-1
src/librustc_mir/borrow_check/nll/type_check/constraint_conversion.rs
..._mir/borrow_check/nll/type_check/constraint_conversion.rs
+1
-2
src/librustc_mir/borrow_check/nll/type_check/mod.rs
src/librustc_mir/borrow_check/nll/type_check/mod.rs
+1
-1
未找到文件。
src/librustc_mir/borrow_check/nll/constraint
_set
.rs
→
src/librustc_mir/borrow_check/nll/constraint
s/mod
.rs
浏览文件 @
5fa240e9
文件已移动
src/librustc_mir/borrow_check/nll/mod.rs
浏览文件 @
5fa240e9
...
...
@@ -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
;
...
...
src/librustc_mir/borrow_check/nll/region_infer/graphviz.rs
浏览文件 @
5fa240e9
...
...
@@ -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
::
constraint
s
::
OutlivesConstraint
;
impl
<
'tcx
>
RegionInferenceContext
<
'tcx
>
{
...
...
src/librustc_mir/borrow_check/nll/region_infer/mod.rs
浏览文件 @
5fa240e9
...
...
@@ -9,7 +9,7 @@
// except according to those terms.
use
super
::
universal_regions
::
UniversalRegions
;
use
borrow_check
::
nll
::
constraint
_set
::{
use
borrow_check
::
nll
::
constraint
s
::{
ConstraintIndex
,
ConstraintGraph
,
ConstraintSet
,
OutlivesConstraint
};
use
borrow_check
::
nll
::
type_check
::
Locations
;
...
...
src/librustc_mir/borrow_check/nll/type_check/constraint_conversion.rs
浏览文件 @
5fa240e9
...
...
@@ -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
::
constraint
s
::{
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
};
...
...
src/librustc_mir/borrow_check/nll/type_check/mod.rs
浏览文件 @
5fa240e9
...
...
@@ -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
::
constraint
s
::{
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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录