Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
int
Rust
提交
7a99da1d
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,发现更多精彩内容 >>
提交
7a99da1d
编写于
5月 27, 2022
作者:
J
Jakob Degen
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Switch incremental/hashes tests to all use optimizations.
上级
8d6d8f04
变更
26
隐藏空白更改
内联
并排
Showing
26 changed file
with
39 addition
and
39 deletion
+39
-39
src/test/incremental/hashes/call_expressions.rs
src/test/incremental/hashes/call_expressions.rs
+1
-1
src/test/incremental/hashes/closure_expressions.rs
src/test/incremental/hashes/closure_expressions.rs
+4
-4
src/test/incremental/hashes/consts.rs
src/test/incremental/hashes/consts.rs
+1
-1
src/test/incremental/hashes/enum_constructors.rs
src/test/incremental/hashes/enum_constructors.rs
+11
-11
src/test/incremental/hashes/enum_defs.rs
src/test/incremental/hashes/enum_defs.rs
+1
-1
src/test/incremental/hashes/exported_vs_not.rs
src/test/incremental/hashes/exported_vs_not.rs
+1
-1
src/test/incremental/hashes/extern_mods.rs
src/test/incremental/hashes/extern_mods.rs
+1
-1
src/test/incremental/hashes/for_loops.rs
src/test/incremental/hashes/for_loops.rs
+1
-1
src/test/incremental/hashes/function_interfaces.rs
src/test/incremental/hashes/function_interfaces.rs
+1
-1
src/test/incremental/hashes/if_expressions.rs
src/test/incremental/hashes/if_expressions.rs
+1
-1
src/test/incremental/hashes/indexing_expressions.rs
src/test/incremental/hashes/indexing_expressions.rs
+1
-1
src/test/incremental/hashes/inherent_impls.rs
src/test/incremental/hashes/inherent_impls.rs
+1
-1
src/test/incremental/hashes/inline_asm.rs
src/test/incremental/hashes/inline_asm.rs
+1
-1
src/test/incremental/hashes/let_expressions.rs
src/test/incremental/hashes/let_expressions.rs
+1
-1
src/test/incremental/hashes/loop_expressions.rs
src/test/incremental/hashes/loop_expressions.rs
+1
-1
src/test/incremental/hashes/match_expressions.rs
src/test/incremental/hashes/match_expressions.rs
+1
-1
src/test/incremental/hashes/panic_exprs.rs
src/test/incremental/hashes/panic_exprs.rs
+1
-1
src/test/incremental/hashes/statics.rs
src/test/incremental/hashes/statics.rs
+1
-1
src/test/incremental/hashes/struct_constructors.rs
src/test/incremental/hashes/struct_constructors.rs
+1
-1
src/test/incremental/hashes/struct_defs.rs
src/test/incremental/hashes/struct_defs.rs
+1
-1
src/test/incremental/hashes/trait_defs.rs
src/test/incremental/hashes/trait_defs.rs
+1
-1
src/test/incremental/hashes/trait_impls.rs
src/test/incremental/hashes/trait_impls.rs
+1
-1
src/test/incremental/hashes/type_defs.rs
src/test/incremental/hashes/type_defs.rs
+1
-1
src/test/incremental/hashes/unary_and_binary_exprs.rs
src/test/incremental/hashes/unary_and_binary_exprs.rs
+1
-1
src/test/incremental/hashes/while_let_loops.rs
src/test/incremental/hashes/while_let_loops.rs
+1
-1
src/test/incremental/hashes/while_loops.rs
src/test/incremental/hashes/while_loops.rs
+1
-1
未找到文件。
src/test/incremental/hashes/call_expressions.rs
浏览文件 @
7a99da1d
...
...
@@ -7,7 +7,7 @@
// build-pass (FIXME(62277): could be check-pass?)
// revisions: cfail1 cfail2 cfail3 cfail4 cfail5 cfail6
// compile-flags: -Z query-dep-graph
// compile-flags: -Z query-dep-graph
-O
// [cfail1]compile-flags: -Zincremental-ignore-spans
// [cfail2]compile-flags: -Zincremental-ignore-spans
// [cfail3]compile-flags: -Zincremental-ignore-spans
...
...
src/test/incremental/hashes/closure_expressions.rs
浏览文件 @
7a99da1d
...
...
@@ -7,7 +7,7 @@
// build-pass (FIXME(62277): could be check-pass?)
// revisions: cfail1 cfail2 cfail3 cfail4 cfail5 cfail6
// compile-flags: -Z query-dep-graph -
Zmir-opt-level=0
// compile-flags: -Z query-dep-graph -
O
// [cfail1]compile-flags: -Zincremental-ignore-spans
// [cfail2]compile-flags: -Zincremental-ignore-spans
// [cfail3]compile-flags: -Zincremental-ignore-spans
...
...
@@ -63,9 +63,9 @@ pub fn change_parameter_pattern() {
}
#[cfg(not(any(cfail1,cfail4)))]
#[rustc_clean(cfg=
"cfail2"
,
except=
"hir_owner_nodes, typeck
, optimized_mir
"
)]
#[rustc_clean(cfg=
"cfail2"
,
except=
"hir_owner_nodes, typeck"
)]
#[rustc_clean(cfg=
"cfail3"
)]
#[rustc_clean(cfg=
"cfail5"
,
except=
"hir_owner_nodes, typeck
, optimized_mir
"
)]
#[rustc_clean(cfg=
"cfail5"
,
except=
"hir_owner_nodes, typeck"
)]
#[rustc_clean(cfg=
"cfail6"
)]
pub
fn
change_parameter_pattern
()
{
let
_
=
|(
x
,):
(
u32
,)|
x
;
...
...
@@ -82,7 +82,7 @@ pub fn add_move() {
#[cfg(not(any(cfail1,cfail4)))]
#[rustc_clean(cfg=
"cfail2"
,
except=
"hir_owner_nodes"
)]
#[rustc_clean(cfg=
"cfail3"
)]
#[rustc_clean(cfg=
"cfail5"
,
except=
"hir_owner_nodes
, optimized_mir
"
)]
#[rustc_clean(cfg=
"cfail5"
,
except=
"hir_owner_nodes"
)]
#[rustc_clean(cfg=
"cfail6"
)]
pub
fn
add_move
()
{
let
_
=
move
||
1
;
...
...
src/test/incremental/hashes/consts.rs
浏览文件 @
7a99da1d
...
...
@@ -7,7 +7,7 @@
// build-pass (FIXME(62277): could be check-pass?)
// revisions: cfail1 cfail2 cfail3
// compile-flags: -Z query-dep-graph
// compile-flags: -Z query-dep-graph
-O
#![allow(warnings)]
#![feature(rustc_attrs)]
...
...
src/test/incremental/hashes/enum_constructors.rs
浏览文件 @
7a99da1d
...
...
@@ -7,7 +7,7 @@
// build-pass (FIXME(62277): could be check-pass?)
// revisions: cfail1 cfail2 cfail3 cfail4 cfail5 cfail6
// compile-flags: -Z query-dep-graph -
Zmir-opt-level=0
// compile-flags: -Z query-dep-graph -
O
// [cfail1]compile-flags: -Zincremental-ignore-spans
// [cfail2]compile-flags: -Zincremental-ignore-spans
// [cfail3]compile-flags: -Zincremental-ignore-spans
...
...
@@ -106,9 +106,9 @@ pub fn change_constructor_path_struct_like() {
}
#[cfg(not(any(cfail1,cfail4)))]
#[rustc_clean(cfg=
"cfail2"
,
except=
"hir_owner_nodes,
optimized_mir,
typeck"
)]
#[rustc_clean(cfg=
"cfail2"
,
except=
"hir_owner_nodes,typeck"
)]
#[rustc_clean(cfg=
"cfail3"
)]
#[rustc_clean(cfg=
"cfail5"
,
except=
"hir_owner_nodes,
optimized_mir,
typeck"
)]
#[rustc_clean(cfg=
"cfail5"
,
except=
"hir_owner_nodes,typeck"
)]
#[rustc_clean(cfg=
"cfail6"
)]
pub
fn
change_constructor_path_struct_like
()
{
let
_
=
Enum2
::
Struct
{
...
...
@@ -131,9 +131,9 @@ pub fn change_constructor_variant_struct_like() {
}
#[cfg(not(any(cfail1,cfail4)))]
#[rustc_clean(cfg=
"cfail2"
,
except=
"hir_owner_nodes
,optimized_mir
"
)]
#[rustc_clean(cfg=
"cfail2"
,
except=
"hir_owner_nodes"
)]
#[rustc_clean(cfg=
"cfail3"
)]
#[rustc_clean(cfg=
"cfail5"
,
except=
"hir_owner_nodes
,optimized_mir
"
)]
#[rustc_clean(cfg=
"cfail5"
,
except=
"hir_owner_nodes"
)]
#[rustc_clean(cfg=
"cfail6"
)]
pub
fn
change_constructor_variant_struct_like
()
{
let
_
=
Enum2
::
Struct2
{
...
...
@@ -221,12 +221,12 @@ pub fn change_constructor_path_tuple_like() {
#[cfg(not(any(cfail1,cfail4)))]
#[rustc_clean(
cfg=
"cfail2"
,
except=
"hir_owner_nodes,
optimized_mir,
typeck"
except=
"hir_owner_nodes,typeck"
)]
#[rustc_clean(cfg=
"cfail3"
)]
#[rustc_clean(
cfg=
"cfail5"
,
except=
"hir_owner_nodes,
optimized_mir,
typeck"
except=
"hir_owner_nodes,typeck"
)]
#[rustc_clean(cfg=
"cfail6"
)]
pub
fn
change_constructor_path_tuple_like
()
{
...
...
@@ -244,12 +244,12 @@ pub fn change_constructor_variant_tuple_like() {
#[cfg(not(any(cfail1,cfail4)))]
#[rustc_clean(
cfg=
"cfail2"
,
except=
"hir_owner_nodes,
optimized_mir,
typeck"
except=
"hir_owner_nodes,typeck"
)]
#[rustc_clean(cfg=
"cfail3"
)]
#[rustc_clean(
cfg=
"cfail5"
,
except=
"hir_owner_nodes,
optimized_mir,
typeck"
except=
"hir_owner_nodes,typeck"
)]
#[rustc_clean(cfg=
"cfail6"
)]
pub
fn
change_constructor_variant_tuple_like
()
{
...
...
@@ -337,9 +337,9 @@ pub fn change_constructor_variant_c_like() {
}
#[cfg(not(any(cfail1,cfail4)))]
#[rustc_clean(cfg=
"cfail2"
,
except=
"hir_owner_nodes
,optimized_mir
"
)]
#[rustc_clean(cfg=
"cfail2"
,
except=
"hir_owner_nodes"
)]
#[rustc_clean(cfg=
"cfail3"
)]
#[rustc_clean(cfg=
"cfail5"
,
except=
"hir_owner_nodes
,optimized_mir
"
)]
#[rustc_clean(cfg=
"cfail5"
,
except=
"hir_owner_nodes"
)]
#[rustc_clean(cfg=
"cfail6"
)]
pub
fn
change_constructor_variant_c_like
()
{
let
_
x
=
Clike
::
C
;
...
...
src/test/incremental/hashes/enum_defs.rs
浏览文件 @
7a99da1d
...
...
@@ -12,7 +12,7 @@
// build-pass (FIXME(62277): could be check-pass?)
// revisions: cfail1 cfail2 cfail3 cfail4 cfail5 cfail6
// compile-flags: -Z query-dep-graph
// compile-flags: -Z query-dep-graph
-O
// [cfail1]compile-flags: -Zincremental-ignore-spans
// [cfail2]compile-flags: -Zincremental-ignore-spans
// [cfail3]compile-flags: -Zincremental-ignore-spans
...
...
src/test/incremental/hashes/exported_vs_not.rs
浏览文件 @
7a99da1d
// build-pass (FIXME(62277): could be check-pass?)
// revisions: cfail1 cfail2 cfail3 cfail4 cfail5 cfail6
// compile-flags: -Z query-dep-graph
// compile-flags: -Z query-dep-graph
-O
// [cfail1]compile-flags: -Zincremental-ignore-spans
// [cfail2]compile-flags: -Zincremental-ignore-spans
// [cfail3]compile-flags: -Zincremental-ignore-spans
...
...
src/test/incremental/hashes/extern_mods.rs
浏览文件 @
7a99da1d
...
...
@@ -7,7 +7,7 @@
// build-pass (FIXME(62277): could be check-pass?)
// revisions: cfail1 cfail2 cfail3 cfail4 cfail5 cfail6
// compile-flags: -Z query-dep-graph
// compile-flags: -Z query-dep-graph
-O
// [cfail1]compile-flags: -Zincremental-ignore-spans
// [cfail2]compile-flags: -Zincremental-ignore-spans
// [cfail3]compile-flags: -Zincremental-ignore-spans
...
...
src/test/incremental/hashes/for_loops.rs
浏览文件 @
7a99da1d
...
...
@@ -7,7 +7,7 @@
// build-pass (FIXME(62277): could be check-pass?)
// revisions: cfail1 cfail2 cfail3 cfail4 cfail5 cfail6
// compile-flags: -Z query-dep-graph
// compile-flags: -Z query-dep-graph
-O
// [cfail1]compile-flags: -Zincremental-ignore-spans
// [cfail2]compile-flags: -Zincremental-ignore-spans
// [cfail3]compile-flags: -Zincremental-ignore-spans
...
...
src/test/incremental/hashes/function_interfaces.rs
浏览文件 @
7a99da1d
...
...
@@ -7,7 +7,7 @@
// build-pass (FIXME(62277): could be check-pass?)
// revisions: cfail1 cfail2 cfail3 cfail4 cfail5 cfail6
// compile-flags: -Z query-dep-graph
// compile-flags: -Z query-dep-graph
-O
// [cfail1]compile-flags: -Zincremental-ignore-spans
// [cfail2]compile-flags: -Zincremental-ignore-spans
// [cfail3]compile-flags: -Zincremental-ignore-spans
...
...
src/test/incremental/hashes/if_expressions.rs
浏览文件 @
7a99da1d
...
...
@@ -7,7 +7,7 @@
// build-pass (FIXME(62277): could be check-pass?)
// revisions: cfail1 cfail2 cfail3 cfail4 cfail5 cfail6
// compile-flags: -Z query-dep-graph
// compile-flags: -Z query-dep-graph
-O
// [cfail1]compile-flags: -Zincremental-ignore-spans
// [cfail2]compile-flags: -Zincremental-ignore-spans
// [cfail3]compile-flags: -Zincremental-ignore-spans
...
...
src/test/incremental/hashes/indexing_expressions.rs
浏览文件 @
7a99da1d
...
...
@@ -7,7 +7,7 @@
// build-pass (FIXME(62277): could be check-pass?)
// revisions: cfail1 cfail2 cfail3 cfail4 cfail5 cfail6
// compile-flags: -Z query-dep-graph
// compile-flags: -Z query-dep-graph
-O
// [cfail1]compile-flags: -Zincremental-ignore-spans
// [cfail2]compile-flags: -Zincremental-ignore-spans
// [cfail3]compile-flags: -Zincremental-ignore-spans
...
...
src/test/incremental/hashes/inherent_impls.rs
浏览文件 @
7a99da1d
...
...
@@ -7,7 +7,7 @@
// build-pass (FIXME(62277): could be check-pass?)
// revisions: cfail1 cfail2 cfail3 cfail4 cfail5 cfail6
// compile-flags: -Z query-dep-graph
// compile-flags: -Z query-dep-graph
-O
// [cfail1]compile-flags: -Zincremental-ignore-spans
// [cfail2]compile-flags: -Zincremental-ignore-spans
// [cfail3]compile-flags: -Zincremental-ignore-spans
...
...
src/test/incremental/hashes/inline_asm.rs
浏览文件 @
7a99da1d
...
...
@@ -7,7 +7,7 @@
// build-pass (FIXME(62277): could be check-pass?)
// revisions: cfail1 cfail2 cfail3 cfail4 cfail5 cfail6
// compile-flags: -Z query-dep-graph
// compile-flags: -Z query-dep-graph
-O
// needs-asm-support
// [cfail1]compile-flags: -Zincremental-ignore-spans
// [cfail2]compile-flags: -Zincremental-ignore-spans
...
...
src/test/incremental/hashes/let_expressions.rs
浏览文件 @
7a99da1d
...
...
@@ -7,7 +7,7 @@
// build-pass (FIXME(62277): could be check-pass?)
// revisions: cfail1 cfail2 cfail3 cfail4 cfail5 cfail6
// compile-flags: -Z query-dep-graph
// compile-flags: -Z query-dep-graph
-O
// [cfail1]compile-flags: -Zincremental-ignore-spans
// [cfail2]compile-flags: -Zincremental-ignore-spans
// [cfail3]compile-flags: -Zincremental-ignore-spans
...
...
src/test/incremental/hashes/loop_expressions.rs
浏览文件 @
7a99da1d
...
...
@@ -7,7 +7,7 @@
// build-pass (FIXME(62277): could be check-pass?)
// revisions: cfail1 cfail2 cfail3 cfail4 cfail5 cfail6
// compile-flags: -Z query-dep-graph
// compile-flags: -Z query-dep-graph
-O
// [cfail1]compile-flags: -Zincremental-ignore-spans
// [cfail2]compile-flags: -Zincremental-ignore-spans
// [cfail3]compile-flags: -Zincremental-ignore-spans
...
...
src/test/incremental/hashes/match_expressions.rs
浏览文件 @
7a99da1d
...
...
@@ -7,7 +7,7 @@
// build-pass (FIXME(62277): could be check-pass?)
// revisions: cfail1 cfail2 cfail3 cfail4 cfail5 cfail6
// compile-flags: -Z query-dep-graph
// compile-flags: -Z query-dep-graph
-O
// [cfail1]compile-flags: -Zincremental-ignore-spans
// [cfail2]compile-flags: -Zincremental-ignore-spans
// [cfail3]compile-flags: -Zincremental-ignore-spans
...
...
src/test/incremental/hashes/panic_exprs.rs
浏览文件 @
7a99da1d
...
...
@@ -10,7 +10,7 @@
// build-pass (FIXME(62277): could be check-pass?)
// revisions: cfail1 cfail2 cfail3
// compile-flags: -Z query-dep-graph -C debug-assertions
// compile-flags: -Z query-dep-graph -C debug-assertions
-O
#![allow(warnings)]
#![feature(rustc_attrs)]
...
...
src/test/incremental/hashes/statics.rs
浏览文件 @
7a99da1d
...
...
@@ -7,7 +7,7 @@
// build-pass (FIXME(62277): could be check-pass?)
// revisions: cfail1 cfail2 cfail3 cfail4 cfail5 cfail6
// compile-flags: -Z query-dep-graph
// compile-flags: -Z query-dep-graph
-O
// [cfail1]compile-flags: -Zincremental-ignore-spans
// [cfail2]compile-flags: -Zincremental-ignore-spans
// [cfail3]compile-flags: -Zincremental-ignore-spans
...
...
src/test/incremental/hashes/struct_constructors.rs
浏览文件 @
7a99da1d
...
...
@@ -7,7 +7,7 @@
// build-pass (FIXME(62277): could be check-pass?)
// revisions: cfail1 cfail2 cfail3 cfail4 cfail5 cfail6
// compile-flags: -Z query-dep-graph
// compile-flags: -Z query-dep-graph
-O
// [cfail1]compile-flags: -Zincremental-ignore-spans
// [cfail2]compile-flags: -Zincremental-ignore-spans
// [cfail3]compile-flags: -Zincremental-ignore-spans
...
...
src/test/incremental/hashes/struct_defs.rs
浏览文件 @
7a99da1d
...
...
@@ -12,7 +12,7 @@
// build-pass (FIXME(62277): could be check-pass?)
// revisions: cfail1 cfail2 cfail3 cfail4 cfail5 cfail6
// compile-flags: -Z query-dep-graph
// compile-flags: -Z query-dep-graph
-O
// [cfail1]compile-flags: -Zincremental-ignore-spans
// [cfail2]compile-flags: -Zincremental-ignore-spans
// [cfail3]compile-flags: -Zincremental-ignore-spans
...
...
src/test/incremental/hashes/trait_defs.rs
浏览文件 @
7a99da1d
...
...
@@ -12,7 +12,7 @@
// build-pass (FIXME(62277): could be check-pass?)
// revisions: cfail1 cfail2 cfail3 cfail4 cfail5 cfail6
// compile-flags: -Z query-dep-graph
// compile-flags: -Z query-dep-graph
-O
// [cfail1]compile-flags: -Zincremental-ignore-spans
// [cfail2]compile-flags: -Zincremental-ignore-spans
// [cfail3]compile-flags: -Zincremental-ignore-spans
...
...
src/test/incremental/hashes/trait_impls.rs
浏览文件 @
7a99da1d
...
...
@@ -7,7 +7,7 @@
// build-pass (FIXME(62277): could be check-pass?)
// revisions: cfail1 cfail2 cfail3 cfail4 cfail5 cfail6
// compile-flags: -Z query-dep-graph
// compile-flags: -Z query-dep-graph
-O
// [cfail1]compile-flags: -Zincremental-ignore-spans
// [cfail2]compile-flags: -Zincremental-ignore-spans
// [cfail3]compile-flags: -Zincremental-ignore-spans
...
...
src/test/incremental/hashes/type_defs.rs
浏览文件 @
7a99da1d
...
...
@@ -12,7 +12,7 @@
// build-pass (FIXME(62277): could be check-pass?)
// revisions: cfail1 cfail2 cfail3
// compile-flags: -Z query-dep-graph
// compile-flags: -Z query-dep-graph
-O
#![allow(warnings)]
#![feature(rustc_attrs)]
...
...
src/test/incremental/hashes/unary_and_binary_exprs.rs
浏览文件 @
7a99da1d
...
...
@@ -7,7 +7,7 @@
// build-pass (FIXME(62277): could be check-pass?)
// revisions: cfail1 cfail2 cfail3 cfail4 cfail5 cfail6
// compile-flags: -Z query-dep-graph
// compile-flags: -Z query-dep-graph
-O
// [cfail1]compile-flags: -Zincremental-ignore-spans
// [cfail2]compile-flags: -Zincremental-ignore-spans
// [cfail3]compile-flags: -Zincremental-ignore-spans
...
...
src/test/incremental/hashes/while_let_loops.rs
浏览文件 @
7a99da1d
...
...
@@ -7,7 +7,7 @@
// build-pass (FIXME(62277): could be check-pass?)
// revisions: cfail1 cfail2 cfail3 cfail4 cfail5 cfail6
// compile-flags: -Z query-dep-graph
// compile-flags: -Z query-dep-graph
-O
// [cfail1]compile-flags: -Zincremental-ignore-spans
// [cfail2]compile-flags: -Zincremental-ignore-spans
// [cfail3]compile-flags: -Zincremental-ignore-spans
...
...
src/test/incremental/hashes/while_loops.rs
浏览文件 @
7a99da1d
...
...
@@ -7,7 +7,7 @@
// build-pass (FIXME(62277): could be check-pass?)
// revisions: cfail1 cfail2 cfail3 cfail4 cfail5 cfail6
// compile-flags: -Z query-dep-graph
// compile-flags: -Z query-dep-graph
-O
// [cfail1]compile-flags: -Zincremental-ignore-spans
// [cfail2]compile-flags: -Zincremental-ignore-spans
// [cfail3]compile-flags: -Zincremental-ignore-spans
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录