mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 07:22:42 +00:00
Switch incremental/hashes tests to all use optimizations.
This commit is contained in:
parent
8d6d8f0426
commit
7a99da1d50
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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)]
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
@ -1,6 +1,6 @@
|
||||
// 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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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)]
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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)]
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user