Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
int
Rust
提交
07c8a25f
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,发现更多精彩内容 >>
提交
07c8a25f
编写于
10月 31, 2016
作者:
S
Seo Sanghyeon
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove unused type aliases
上级
4497196b
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
2 addition
and
23 deletion
+2
-23
src/librustc_borrowck/borrowck/mir/abs_domain.rs
src/librustc_borrowck/borrowck/mir/abs_domain.rs
+2
-4
src/librustc_borrowck/borrowck/mod.rs
src/librustc_borrowck/borrowck/mod.rs
+0
-2
src/librustc_incremental/persist/load.rs
src/librustc_incremental/persist/load.rs
+0
-2
src/librustc_resolve/macros.rs
src/librustc_resolve/macros.rs
+0
-3
src/librustc_trans/adt.rs
src/librustc_trans/adt.rs
+0
-6
src/librustc_typeck/astconv.rs
src/librustc_typeck/astconv.rs
+0
-2
src/libstd/collections/hash/table.rs
src/libstd/collections/hash/table.rs
+0
-4
未找到文件。
src/librustc_borrowck/borrowck/mir/abs_domain.rs
浏览文件 @
07c8a25f
...
...
@@ -21,13 +21,11 @@
//! `a[x]` would still overlap them both. But that is not this
//! representation does today.)
use
rustc
::
mir
::
{
Lvalue
,
LvalueElem
}
;
use
rustc
::
mir
::{
Operand
,
Projection
,
Projection
Elem
};
use
rustc
::
mir
::
LvalueElem
;
use
rustc
::
mir
::{
Operand
,
ProjectionElem
};
#[derive(Copy,
Clone,
PartialEq,
Eq,
Hash,
Debug)]
pub
struct
AbstractOperand
;
pub
type
AbstractProjection
<
'tcx
>
=
Projection
<
'tcx
,
Lvalue
<
'tcx
>
,
AbstractOperand
>
;
pub
type
AbstractElem
<
'tcx
>
=
ProjectionElem
<
'tcx
,
AbstractOperand
>
;
...
...
src/librustc_borrowck/borrowck/mod.rs
浏览文件 @
07c8a25f
...
...
@@ -300,8 +300,6 @@ struct BorrowStats {
guaranteed_paths
:
usize
}
pub
type
BckResult
<
'tcx
,
T
>
=
Result
<
T
,
BckError
<
'tcx
>>
;
///////////////////////////////////////////////////////////////////////////
// Loans and loan paths
...
...
src/librustc_incremental/persist/load.rs
浏览文件 @
07c8a25f
...
...
@@ -32,8 +32,6 @@
pub
type
DirtyNodes
=
FnvHashSet
<
DepNode
<
DefPathIndex
>>
;
type
CleanEdges
=
Vec
<
(
DepNode
<
DefId
>
,
DepNode
<
DefId
>
)
>
;
/// If we are in incremental mode, and a previous dep-graph exists,
/// then load up those nodes/edges that are still valid into the
/// dep-graph for this session. (This is assumed to be running very
...
...
src/librustc_resolve/macros.rs
浏览文件 @
07c8a25f
...
...
@@ -12,7 +12,6 @@
use
build_reduced_graph
::
BuildReducedGraphVisitor
;
use
rustc
::
hir
::
def_id
::{
CRATE_DEF_INDEX
,
DefIndex
};
use
rustc
::
hir
::
map
::{
self
,
DefCollector
};
use
rustc
::
util
::
nodemap
::
FnvHashMap
;
use
std
::
cell
::
Cell
;
use
std
::
rc
::
Rc
;
use
syntax
::
ast
;
...
...
@@ -80,8 +79,6 @@ pub struct LegacyBinding<'a> {
span
:
Span
,
}
pub
type
LegacyImports
=
FnvHashMap
<
ast
::
Name
,
(
Rc
<
SyntaxExtension
>
,
Span
)
>
;
impl
<
'a
>
base
::
Resolver
for
Resolver
<
'a
>
{
fn
next_node_id
(
&
mut
self
)
->
ast
::
NodeId
{
self
.session
.next_node_id
()
...
...
src/librustc_trans/adt.rs
浏览文件 @
07c8a25f
...
...
@@ -48,7 +48,6 @@
use
llvm
::{
ValueRef
,
True
,
IntEQ
,
IntNE
};
use
rustc
::
ty
::
layout
;
use
rustc
::
ty
::{
self
,
Ty
,
AdtKind
};
use
syntax
::
attr
;
use
build
::
*
;
use
common
::
*
;
use
debuginfo
::
DebugLoc
;
...
...
@@ -66,8 +65,6 @@ pub enum BranchKind {
Single
}
type
Hint
=
attr
::
ReprAttr
;
#[derive(Copy,
Clone)]
pub
struct
MaybeSizedValue
{
pub
value
:
ValueRef
,
...
...
@@ -119,9 +116,6 @@ fn compute_fields<'a, 'tcx>(cx: &CrateContext<'a, 'tcx>, t: Ty<'tcx>,
}
}
/// This represents the (GEP) indices to follow to get to the discriminant field
pub
type
DiscrField
=
Vec
<
usize
>
;
/// LLVM-level types are a little complicated.
///
/// C-like enums need to be actual ints, not wrapped in a struct,
...
...
src/librustc_typeck/astconv.rs
浏览文件 @
07c8a25f
...
...
@@ -171,8 +171,6 @@ struct ConvertedBinding<'tcx> {
span
:
Span
,
}
type
TraitAndProjections
<
'tcx
>
=
(
ty
::
PolyTraitRef
<
'tcx
>
,
Vec
<
ty
::
PolyProjectionPredicate
<
'tcx
>>
);
/// Dummy type used for the `Self` of a `TraitRef` created for converting
/// a trait object, and which gets removed in `ExistentialTraitRef`.
/// This type must not appear anywhere in other converted types.
...
...
src/libstd/collections/hash/table.rs
浏览文件 @
07c8a25f
...
...
@@ -113,10 +113,6 @@ pub struct FullBucket<K, V, M> {
table
:
M
,
}
pub
type
EmptyBucketImm
<
'table
,
K
,
V
>
=
EmptyBucket
<
K
,
V
,
&
'table
RawTable
<
K
,
V
>>
;
pub
type
FullBucketImm
<
'table
,
K
,
V
>
=
FullBucket
<
K
,
V
,
&
'table
RawTable
<
K
,
V
>>
;
pub
type
EmptyBucketMut
<
'table
,
K
,
V
>
=
EmptyBucket
<
K
,
V
,
&
'table
mut
RawTable
<
K
,
V
>>
;
pub
type
FullBucketMut
<
'table
,
K
,
V
>
=
FullBucket
<
K
,
V
,
&
'table
mut
RawTable
<
K
,
V
>>
;
pub
enum
BucketState
<
K
,
V
,
M
>
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录