Remove references to removed option from tests.
This commit is contained in:
parent
4719cb3036
commit
5b9360bb1e
@ -2,8 +2,6 @@
|
||||
// compile-flags: -Zquery-dep-graph
|
||||
// [rpass1]compile-flags: -Zincremental-ignore-spans
|
||||
// [rpass2]compile-flags: -Zincremental-ignore-spans
|
||||
// [rpass3]compile-flags: -Zincremental-relative-spans
|
||||
// [rpass4]compile-flags: -Zincremental-relative-spans
|
||||
|
||||
#![feature(rustc_attrs)]
|
||||
#![rustc_partition_reused(module = "change_symbol_export_status-mod1", cfg = "rpass2")]
|
||||
|
@ -11,9 +11,6 @@
|
||||
// [cfail1]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail2]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail3]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail4]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail5]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail6]compile-flags: -Zincremental-relative-spans
|
||||
|
||||
|
||||
#![allow(warnings)]
|
||||
|
@ -11,9 +11,6 @@
|
||||
// [cfail1]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail2]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail3]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail4]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail5]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail6]compile-flags: -Zincremental-relative-spans
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(rustc_attrs)]
|
||||
|
@ -11,9 +11,6 @@
|
||||
// [cfail1]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail2]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail3]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail4]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail5]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail6]compile-flags: -Zincremental-relative-spans
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(rustc_attrs)]
|
||||
|
@ -16,9 +16,6 @@
|
||||
// [cfail1]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail2]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail3]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail4]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail5]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail6]compile-flags: -Zincremental-relative-spans
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(rustc_attrs)]
|
||||
|
@ -4,9 +4,6 @@
|
||||
// [cfail1]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail2]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail3]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail4]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail5]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail6]compile-flags: -Zincremental-relative-spans
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(rustc_attrs)]
|
||||
|
@ -11,9 +11,6 @@
|
||||
// [cfail1]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail2]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail3]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail4]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail5]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail6]compile-flags: -Zincremental-relative-spans
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(rustc_attrs)]
|
||||
|
@ -11,9 +11,6 @@
|
||||
// [cfail1]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail2]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail3]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail4]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail5]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail6]compile-flags: -Zincremental-relative-spans
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(rustc_attrs)]
|
||||
|
@ -11,9 +11,6 @@
|
||||
// [cfail1]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail2]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail3]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail4]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail5]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail6]compile-flags: -Zincremental-relative-spans
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(linkage)]
|
||||
|
@ -11,9 +11,6 @@
|
||||
// [cfail1]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail2]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail3]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail4]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail5]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail6]compile-flags: -Zincremental-relative-spans
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(rustc_attrs)]
|
||||
|
@ -11,9 +11,6 @@
|
||||
// [cfail1]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail2]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail3]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail4]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail5]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail6]compile-flags: -Zincremental-relative-spans
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(rustc_attrs)]
|
||||
|
@ -11,9 +11,6 @@
|
||||
// [cfail1]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail2]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail3]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail4]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail5]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail6]compile-flags: -Zincremental-relative-spans
|
||||
|
||||
|
||||
#![allow(warnings)]
|
||||
|
@ -12,9 +12,6 @@
|
||||
// [cfail1]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail2]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail3]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail4]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail5]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail6]compile-flags: -Zincremental-relative-spans
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(rustc_attrs)]
|
||||
|
@ -11,9 +11,6 @@
|
||||
// [cfail1]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail2]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail3]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail4]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail5]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail6]compile-flags: -Zincremental-relative-spans
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(rustc_attrs)]
|
||||
|
@ -11,9 +11,6 @@
|
||||
// [cfail1]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail2]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail3]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail4]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail5]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail6]compile-flags: -Zincremental-relative-spans
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(rustc_attrs)]
|
||||
|
@ -11,9 +11,6 @@
|
||||
// [cfail1]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail2]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail3]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail4]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail5]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail6]compile-flags: -Zincremental-relative-spans
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(rustc_attrs)]
|
||||
|
@ -11,9 +11,6 @@
|
||||
// [cfail1]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail2]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail3]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail4]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail5]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail6]compile-flags: -Zincremental-relative-spans
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(rustc_attrs)]
|
||||
|
@ -11,9 +11,6 @@
|
||||
// [cfail1]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail2]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail3]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail4]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail5]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail6]compile-flags: -Zincremental-relative-spans
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(rustc_attrs)]
|
||||
|
@ -16,9 +16,6 @@
|
||||
// [cfail1]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail2]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail3]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail4]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail5]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail6]compile-flags: -Zincremental-relative-spans
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(rustc_attrs)]
|
||||
|
@ -16,9 +16,6 @@
|
||||
// [cfail1]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail2]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail3]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail4]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail5]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail6]compile-flags: -Zincremental-relative-spans
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(rustc_attrs)]
|
||||
|
@ -11,9 +11,6 @@
|
||||
// [cfail1]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail2]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail3]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail4]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail5]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail6]compile-flags: -Zincremental-relative-spans
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(rustc_attrs)]
|
||||
|
@ -11,9 +11,6 @@
|
||||
// [cfail1]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail2]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail3]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail4]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail5]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail6]compile-flags: -Zincremental-relative-spans
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(rustc_attrs)]
|
||||
|
@ -11,9 +11,6 @@
|
||||
// [cfail1]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail2]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail3]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail4]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail5]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail6]compile-flags: -Zincremental-relative-spans
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(rustc_attrs)]
|
||||
|
@ -11,9 +11,6 @@
|
||||
// [cfail1]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail2]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail3]compile-flags: -Zincremental-ignore-spans
|
||||
// [cfail4]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail5]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail6]compile-flags: -Zincremental-relative-spans
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(rustc_attrs)]
|
||||
|
@ -1,21 +1,17 @@
|
||||
// This test makes sure that just changing a definition's location in the
|
||||
// source file also changes its incr. comp. hash, if debuginfo is enabled.
|
||||
|
||||
// revisions:rpass1 rpass2 rpass3 rpass4
|
||||
// revisions:rpass1 rpass2
|
||||
|
||||
// ignore-asmjs wasm2js does not support source maps yet
|
||||
// compile-flags: -g -Z query-dep-graph
|
||||
// [rpass3]compile-flags: -Zincremental-relative-spans
|
||||
// [rpass4]compile-flags: -Zincremental-relative-spans
|
||||
|
||||
#![feature(rustc_attrs)]
|
||||
#![rustc_partition_codegened(module = "spans_significant_w_debuginfo", cfg = "rpass2")]
|
||||
#![rustc_partition_codegened(module = "spans_significant_w_debuginfo", cfg = "rpass4")]
|
||||
|
||||
#[cfg(any(rpass1, rpass3))]
|
||||
#[cfg(rpass1)]
|
||||
pub fn main() {}
|
||||
|
||||
#[cfg(any(rpass2, rpass4))]
|
||||
#[rustc_clean(except = "hir_owner,hir_owner_nodes,optimized_mir", cfg = "rpass2")]
|
||||
#[rustc_clean(cfg = "rpass4")]
|
||||
#[cfg(rpass2)]
|
||||
#[rustc_clean(cfg = "rpass2")]
|
||||
pub fn main() {}
|
||||
|
@ -1,26 +1,22 @@
|
||||
// This test makes sure that just changing a definition's location in the
|
||||
// source file also changes its incr. comp. hash, if debuginfo is enabled.
|
||||
|
||||
// revisions:rpass1 rpass2 rpass3 rpass4
|
||||
// [rpass3]compile-flags: -Zincremental-relative-spans
|
||||
// [rpass4]compile-flags: -Zincremental-relative-spans
|
||||
// revisions:rpass1 rpass2
|
||||
|
||||
// compile-flags: -C overflow-checks=on -Z query-dep-graph
|
||||
|
||||
#![feature(rustc_attrs)]
|
||||
#![rustc_partition_codegened(module = "spans_significant_w_panic", cfg = "rpass2")]
|
||||
#![rustc_partition_codegened(module = "spans_significant_w_panic", cfg = "rpass4")]
|
||||
|
||||
#[cfg(any(rpass1, rpass3))]
|
||||
#[cfg(rpass1)]
|
||||
pub fn main() {
|
||||
if std::hint::black_box(false) {
|
||||
panic!()
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(rpass2, rpass4))]
|
||||
#[rustc_clean(except = "hir_owner,hir_owner_nodes,optimized_mir", cfg = "rpass2")]
|
||||
#[rustc_clean(cfg = "rpass4")]
|
||||
#[cfg(rpass2)]
|
||||
#[rustc_clean(cfg = "rpass2")]
|
||||
pub fn main() {
|
||||
if std::hint::black_box(false) {
|
||||
panic!()
|
||||
|
@ -1,7 +1,5 @@
|
||||
// revisions: cfail1 cfail2 cfail3 cfail4
|
||||
// revisions: cfail1 cfail2
|
||||
// compile-flags: -Z query-dep-graph
|
||||
// [cfail3]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail4]compile-flags: -Zincremental-relative-spans
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![allow(warnings)]
|
||||
@ -13,14 +11,13 @@
|
||||
// needed even for callers of `x`.
|
||||
|
||||
pub mod x {
|
||||
#[cfg(any(cfail1, cfail3))]
|
||||
#[cfg(cfail1)]
|
||||
pub fn x() {
|
||||
println!("{}", "1");
|
||||
}
|
||||
|
||||
#[cfg(any(cfail2, cfail4))]
|
||||
#[rustc_clean(except = "hir_owner,hir_owner_nodes,optimized_mir,promoted_mir", cfg = "cfail2")]
|
||||
#[rustc_clean(except = "hir_owner_nodes,promoted_mir", cfg = "cfail4")]
|
||||
#[cfg(cfail2)]
|
||||
#[rustc_clean(except = "hir_owner_nodes,promoted_mir", cfg = "cfail2")]
|
||||
pub fn x() {
|
||||
println!("{}", "2");
|
||||
}
|
||||
@ -30,7 +27,6 @@ pub mod y {
|
||||
use x;
|
||||
|
||||
#[rustc_clean(cfg = "cfail2")]
|
||||
#[rustc_clean(cfg = "cfail4")]
|
||||
pub fn y() {
|
||||
x::x();
|
||||
}
|
||||
@ -40,7 +36,6 @@ pub mod z {
|
||||
use y;
|
||||
|
||||
#[rustc_clean(cfg = "cfail2")]
|
||||
#[rustc_clean(cfg = "cfail4")]
|
||||
pub fn z() {
|
||||
y::y();
|
||||
}
|
||||
|
@ -3,10 +3,7 @@
|
||||
// ends up with any spans in its LLVM bitecode, so LLVM is able to skip
|
||||
// re-building any modules which import 'inlined_fn'
|
||||
|
||||
// revisions: cfail1 cfail2 cfail3 cfail4 cfail5 cfail6
|
||||
// [cfail4]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail5]compile-flags: -Zincremental-relative-spans
|
||||
// [cfail6]compile-flags: -Zincremental-relative-spans
|
||||
// revisions: cfail1 cfail2 cfail3
|
||||
// compile-flags: -Z query-dep-graph -O
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
@ -18,16 +15,6 @@
|
||||
cfg = "cfail3",
|
||||
kind = "post-lto"
|
||||
)]
|
||||
#![rustc_expected_cgu_reuse(
|
||||
module = "cgu_keeps_identical_fn-foo",
|
||||
cfg = "cfail5",
|
||||
kind = "post-lto"
|
||||
)]
|
||||
#![rustc_expected_cgu_reuse(
|
||||
module = "cgu_keeps_identical_fn-foo",
|
||||
cfg = "cfail6",
|
||||
kind = "post-lto"
|
||||
)]
|
||||
#![rustc_expected_cgu_reuse(
|
||||
module = "cgu_keeps_identical_fn-bar",
|
||||
cfg = "cfail2",
|
||||
@ -38,16 +25,6 @@
|
||||
cfg = "cfail3",
|
||||
kind = "post-lto"
|
||||
)]
|
||||
#![rustc_expected_cgu_reuse(
|
||||
module = "cgu_keeps_identical_fn-bar",
|
||||
cfg = "cfail5",
|
||||
kind = "post-lto"
|
||||
)]
|
||||
#![rustc_expected_cgu_reuse(
|
||||
module = "cgu_keeps_identical_fn-bar",
|
||||
cfg = "cfail6",
|
||||
kind = "post-lto"
|
||||
)]
|
||||
|
||||
mod foo {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user