Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
int
Rust
提交
3b158b3e
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,发现更多精彩内容 >>
提交
3b158b3e
编写于
7月 18, 2013
作者:
F
Felix S. Klock II
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Silence various warnings in bootstrap build.
上级
d300a645
变更
8
显示空白变更内容
内联
并排
Showing
8 changed file
with
1 addition
and
16 deletion
+1
-16
src/librustc/rustc.rs
src/librustc/rustc.rs
+0
-1
src/librustdoc/path_pass.rs
src/librustdoc/path_pass.rs
+0
-2
src/librustdoc/rustdoc.rs
src/librustdoc/rustdoc.rs
+0
-2
src/librustdoc/sort_pass.rs
src/librustdoc/sort_pass.rs
+0
-2
src/librustdoc/text_pass.rs
src/librustdoc/text_pass.rs
+0
-1
src/libsyntax/ast_map.rs
src/libsyntax/ast_map.rs
+0
-1
src/libsyntax/ast_util.rs
src/libsyntax/ast_util.rs
+0
-2
src/libsyntax/parse/parser.rs
src/libsyntax/parse/parser.rs
+1
-5
未找到文件。
src/librustc/rustc.rs
浏览文件 @
3b158b3e
...
...
@@ -17,7 +17,6 @@
#[license
=
"MIT/ASL2"
]
;
#[crate_type
=
"lib"
]
;
#[allow(non_implicitly_copyable_typarams)]
;
#[deny(deprecated_pattern)]
;
extern
mod
extra
;
...
...
src/librustdoc/path_pass.rs
浏览文件 @
3b158b3e
...
...
@@ -43,7 +43,6 @@ fn clone(&self) -> Ctxt {
}
}
#[allow(non_implicitly_copyable_typarams)]
fn
run
(
srv
:
astsrv
::
Srv
,
doc
:
doc
::
Doc
)
->
doc
::
Doc
{
let
ctxt
=
Ctxt
{
srv
:
srv
,
...
...
@@ -66,7 +65,6 @@ fn fold_item(fold: &fold::Fold<Ctxt>, doc: doc::ItemDoc) -> doc::ItemDoc {
}
}
#[allow(non_implicitly_copyable_typarams)]
fn
fold_mod
(
fold
:
&
fold
::
Fold
<
Ctxt
>
,
doc
:
doc
::
ModDoc
)
->
doc
::
ModDoc
{
let
is_topmod
=
doc
.id
()
==
ast
::
crate_node_id
;
...
...
src/librustdoc/rustdoc.rs
浏览文件 @
3b158b3e
...
...
@@ -19,8 +19,6 @@
#[license
=
"MIT/ASL2"
]
;
#[crate_type
=
"lib"
]
;
#[allow(non_implicitly_copyable_typarams)]
;
extern
mod
extra
;
extern
mod
rustc
;
extern
mod
syntax
;
...
...
src/librustdoc/sort_pass.rs
浏览文件 @
3b158b3e
...
...
@@ -42,7 +42,6 @@ pub fn mk_pass(name: ~str, lteq: ItemLtEqOp) -> Pass {
}
}
#[allow(non_implicitly_copyable_typarams)]
fn
run
(
_
srv
:
astsrv
::
Srv
,
doc
:
doc
::
Doc
,
...
...
@@ -55,7 +54,6 @@ fn run(
(
fold
.fold_doc
)(
&
fold
,
doc
)
}
#[allow(non_implicitly_copyable_typarams)]
fn
fold_mod
(
fold
:
&
fold
::
Fold
<
ItemLtEq
>
,
doc
:
doc
::
ModDoc
...
...
src/librustdoc/text_pass.rs
浏览文件 @
3b158b3e
...
...
@@ -44,7 +44,6 @@ fn clone(&self) -> WrappedOp {
}
}
#[allow(non_implicitly_copyable_typarams)]
fn
run
(
_
srv
:
astsrv
::
Srv
,
doc
:
doc
::
Doc
,
...
...
src/libsyntax/ast_map.rs
浏览文件 @
3b158b3e
...
...
@@ -20,7 +20,6 @@
use
visit
;
use
syntax
::
parse
::
token
::
special_idents
;
use
std
::
cmp
;
use
std
::
hashmap
::
HashMap
;
use
std
::
vec
;
...
...
src/libsyntax/ast_util.rs
浏览文件 @
3b158b3e
...
...
@@ -16,8 +16,6 @@
use
parse
::
token
;
use
visit
;
use
std
::
cast
::
unsafe_copy
;
use
std
::
cast
;
use
std
::
hashmap
::
HashMap
;
use
std
::
int
;
use
std
::
local_data
;
...
...
src/libsyntax/parse/parser.rs
浏览文件 @
3b158b3e
...
...
@@ -2713,7 +2713,6 @@ pub fn parse_pat(&self) -> @pat {
token
::
LBRACE
=>
{
self
.bump
();
let
(
_
,
_
)
=
self
.parse_pat_fields
();
hi
=
self
.span.hi
;
self
.bump
();
self
.obsolete
(
*
self
.span
,
ObsoleteRecordPattern
);
pat
=
pat_wild
;
...
...
@@ -2744,7 +2743,6 @@ pub fn parse_pat(&self) -> @pat {
}
}
if
fields
.len
()
==
1
{
self
.expect
(
&
token
::
COMMA
);
}
hi
=
self
.span.hi
;
self
.expect
(
&
token
::
RPAREN
);
pat
=
pat_tup
(
fields
);
}
...
...
@@ -2760,7 +2758,6 @@ pub fn parse_pat(&self) -> @pat {
self
.bump
();
let
(
before
,
slice
,
after
)
=
self
.parse_pat_vec_elements
();
hi
=
self
.span.hi
;
self
.expect
(
&
token
::
RBRACKET
);
pat
=
ast
::
pat_vec
(
before
,
slice
,
after
);
hi
=
self
.last_span.hi
;
...
...
@@ -4654,7 +4651,7 @@ fn parse_macro_use_or_failure(
pub
fn
parse_item
(
&
self
,
attrs
:
~
[
attribute
])
->
Option
<@
ast
::
item
>
{
match
self
.parse_item_or_view_item
(
attrs
,
true
)
{
iovi_none
(
attrs
)
=>
iovi_none
(
_
)
=>
None
,
iovi_view_item
(
_
)
=>
self
.fatal
(
"view items are not allowed here"
),
...
...
@@ -4824,7 +4821,6 @@ fn parse_items_and_view_items(&self,
// First, parse view items.
let
mut
view_items
:
~
[
ast
::
view_item
]
=
~
[];
let
mut
items
=
~
[];
let
mut
done
=
false
;
// I think this code would probably read better as a single
// loop with a mutable three-state-variable (for extern mods,
// view items, and regular items) ... except that because
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录