Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
int
Rust
提交
b4d3df65
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,发现更多精彩内容 >>
提交
b4d3df65
编写于
9月 30, 2016
作者:
J
Jeffrey Seyfried
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Stabilize RFC 1560.
上级
bfa709a3
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
6 addition
and
12 deletion
+6
-12
src/libcoretest/num/flt2dec/strategy/dragon.rs
src/libcoretest/num/flt2dec/strategy/dragon.rs
+0
-1
src/libcoretest/num/flt2dec/strategy/grisu.rs
src/libcoretest/num/flt2dec/strategy/grisu.rs
+0
-1
src/librustc/hir/map/collector.rs
src/librustc/hir/map/collector.rs
+0
-2
src/librustc/hir/map/def_collector.rs
src/librustc/hir/map/def_collector.rs
+1
-1
src/librustc/lib.rs
src/librustc/lib.rs
+1
-0
src/librustc_mir/hair/cx/expr.rs
src/librustc_mir/hair/cx/expr.rs
+0
-1
src/librustc_mir/hair/cx/mod.rs
src/librustc_mir/hair/cx/mod.rs
+0
-1
src/librustc_mir/lib.rs
src/librustc_mir/lib.rs
+1
-0
src/librustc_resolve/diagnostics.rs
src/librustc_resolve/diagnostics.rs
+1
-1
src/librustc_resolve/lib.rs
src/librustc_resolve/lib.rs
+1
-1
src/libsyntax/feature_gate.rs
src/libsyntax/feature_gate.rs
+1
-3
未找到文件。
src/libcoretest/num/flt2dec/strategy/dragon.rs
浏览文件 @
b4d3df65
...
...
@@ -11,7 +11,6 @@
use
std
::
prelude
::
v1
::
*
;
use
std
::{
i16
,
f64
};
use
super
::
super
::
*
;
use
core
::
num
::
flt2dec
::
*
;
use
core
::
num
::
bignum
::
Big32x40
as
Big
;
use
core
::
num
::
flt2dec
::
strategy
::
dragon
::
*
;
...
...
src/libcoretest/num/flt2dec/strategy/grisu.rs
浏览文件 @
b4d3df65
...
...
@@ -10,7 +10,6 @@
use
std
::{
i16
,
f64
};
use
super
::
super
::
*
;
use
core
::
num
::
flt2dec
::
*
;
use
core
::
num
::
flt2dec
::
strategy
::
grisu
::
*
;
#[test]
...
...
src/librustc/hir/map/collector.rs
浏览文件 @
b4d3df65
...
...
@@ -9,9 +9,7 @@
// except according to those terms.
use
super
::
*
;
use
super
::
MapEntry
::
*
;
use
hir
::
*
;
use
hir
::
intravisit
::
Visitor
;
use
hir
::
def_id
::
DefId
;
use
middle
::
cstore
::
InlinedItem
;
...
...
src/librustc/hir/map/def_collector.rs
浏览文件 @
b4d3df65
...
...
@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use
super
::
*
;
use
hir
::
map
::
definitions
::
*
;
use
hir
;
use
hir
::
intravisit
;
...
...
src/librustc/lib.rs
浏览文件 @
b4d3df65
...
...
@@ -33,6 +33,7 @@
#![feature(core_intrinsics)]
#![cfg_attr(stage0,
feature(dotdot_in_tuple_patterns))]
#![feature(enumset)]
#![cfg_attr(stage0,
feature(item_like_imports))]
#![feature(libc)]
#![feature(nonzero)]
#![feature(quote)]
...
...
src/librustc_mir/hair/cx/expr.rs
浏览文件 @
b4d3df65
...
...
@@ -21,7 +21,6 @@
use
rustc
::
middle
::
region
::
CodeExtent
;
use
rustc
::
ty
::{
self
,
AdtKind
,
VariantDef
,
Ty
};
use
rustc
::
ty
::
cast
::
CastKind
as
TyCastKind
;
use
rustc
::
mir
::
*
;
use
rustc
::
hir
;
use
syntax
::
ptr
::
P
;
...
...
src/librustc_mir/hair/cx/mod.rs
浏览文件 @
b4d3df65
...
...
@@ -16,7 +16,6 @@
*/
use
hair
::
*
;
use
rustc
::
mir
::
*
;
use
rustc
::
mir
::
transform
::
MirSource
;
use
rustc
::
middle
::
const_val
::
ConstVal
;
...
...
src/librustc_mir/lib.rs
浏览文件 @
b4d3df65
...
...
@@ -23,6 +23,7 @@
#![feature(associated_consts)]
#![feature(box_patterns)]
#![cfg_attr(stage0,
feature(dotdot_in_tuple_patterns))]
#![cfg_attr(stage0,
feature(item_like_imports))]
#![feature(rustc_diagnostic_macros)]
#![feature(rustc_private)]
#![feature(staged_api)]
...
...
src/librustc_resolve/diagnostics.rs
浏览文件 @
b4d3df65
...
...
@@ -59,7 +59,7 @@ fn f() {
An example of this error:
```
compile_fail
```
ignore
use foo::baz;
use bar::*; // error, do `use foo::baz as quux` instead on the previous line
...
...
src/librustc_resolve/lib.rs
浏览文件 @
b4d3df65
...
...
@@ -1333,7 +1333,7 @@ pub fn new(session: &'a Session,
span
:
DUMMY_SP
,
vis
:
ty
::
Visibility
::
Public
,
}),
new_import_semantics
:
session
.features
.borrow
()
.item_like_imports
,
new_import_semantics
:
true
,
use_extern_macros
:
session
.features
.borrow
()
.use_extern_macros
,
exported_macros
:
Vec
::
new
(),
...
...
src/libsyntax/feature_gate.rs
浏览文件 @
b4d3df65
...
...
@@ -284,9 +284,6 @@ pub fn new() -> Features {
// instead of just the platforms on which it is the C ABI
(
active
,
abi_sysv64
,
"1.13.0"
,
Some
(
36167
)),
// Use the import semantics from RFC 1560.
(
active
,
item_like_imports
,
"1.13.0"
,
Some
(
35120
)),
// Macros 1.1
(
active
,
proc_macro
,
"1.13.0"
,
Some
(
35900
)),
...
...
@@ -362,6 +359,7 @@ pub fn new() -> Features {
(
accepted
,
question_mark
,
"1.13.0"
,
Some
(
31436
)),
// Allows `..` in tuple (struct) patterns
(
accepted
,
dotdot_in_tuple_patterns
,
"1.14.0"
,
Some
(
33627
)),
(
accepted
,
item_like_imports
,
"1.14.0"
,
Some
(
35120
)),
);
// (changing above list without updating src/doc/reference.md makes @cmr sad)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录