Skip to content

Commit e7252f6

Browse files
committed
Auto merge of #49585 - GuillaumeGomez:rename-to-compile-pass, r=Mark-Simulacrum
Rename must-compile-successfully into compile-pass Fixes #49568. r? @Mark-Simulacrum
2 parents 7291829 + 812656d commit e7252f6

File tree

124 files changed

+137
-137
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

124 files changed

+137
-137
lines changed

src/test/COMPILER_TESTS.md

+2-2

src/test/compile-fail/closure-expected-type/expect-fn-supply-fn-multiple.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// must-compile-successfully
11+
// compile-pass
1212

1313
#![allow(warnings)]
1414

src/test/compile-fail/closure-expected-type/expect-infer-var-supply-ty-with-bound-region.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// must-compile-successfully
11+
// compile-pass
1212

1313
fn with_closure<F, A>(_: F)
1414
where F: FnOnce(A, &u32)

src/test/compile-fail/closure-expected-type/expect-infer-var-supply-ty-with-free-region.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// must-compile-successfully
11+
// compile-pass
1212

1313
fn with_closure<F, A>(_: F)
1414
where F: FnOnce(A, &u32)

src/test/compile-fail/issue-47309.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// See https://github.com/rust-lang/rust/issues/47309
1414

1515
// compile-flags:-Clink-dead-code
16-
// must-compile-successfully
16+
// compile-pass
1717

1818
#![crate_type="rlib"]
1919

src/test/compile-fail/rmeta-lib-pass.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// compile-flags: --emit=metadata
1212
// aux-build:rmeta_rlib.rs
1313
// no-prefer-dynamic
14-
// must-compile-successfully
14+
// compile-pass
1515

1616
// Check that building a metadata crate works with a dependent, rlib crate.
1717
// This is a cfail test since there is no executable to run.

src/test/compile-fail/rmeta-pass.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// compile-flags: --emit=metadata
1212
// aux-build:rmeta_meta.rs
1313
// no-prefer-dynamic
14-
// must-compile-successfully
14+
// compile-pass
1515

1616
// Check that building a metadata crate works with a dependent, metadata-only
1717
// crate.

src/test/compile-fail/rmeta-priv-warn.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
// compile-flags: --emit=metadata
1212
// no-prefer-dynamic
13-
// must-compile-successfully
13+
// compile-pass
1414

1515
#[deny(warnings)]
1616

src/test/incremental-fulldeps/incremental_proc_macro.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// aux-build:incremental_proc_macro_aux.rs
1212
// ignore-stage1
1313
// revisions: cfail1 cfail2
14-
// must-compile-successfully
14+
// compile-pass
1515

1616
// This test makes sure that we still find the proc-macro registrar function
1717
// when we compile proc-macros incrementally (see #47292).

src/test/incremental/add_private_fn_at_krate_root_cc/struct_point.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// revisions:cfail1 cfail2
1616
// compile-flags: -Z query-dep-graph
1717
// aux-build:point.rs
18-
// must-compile-successfully
18+
// compile-pass
1919

2020
#![feature(rustc_attrs)]
2121
#![feature(stmt_expr_attributes)]

src/test/incremental/change_add_field/struct_point.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
// revisions:cfail1 cfail2
1717
// compile-flags: -Z query-dep-graph
18-
// must-compile-successfully
18+
// compile-pass
1919

2020
#![feature(rustc_attrs)]
2121
#![feature(stmt_expr_attributes)]

src/test/incremental/change_crate_dep_kind.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
// revisions:cfail1 cfail2
1515
// compile-flags: -Z query-dep-graph -Cpanic=unwind
16-
// must-compile-successfully
16+
// compile-pass
1717

1818
#![feature(panic_unwind)]
1919

src/test/incremental/change_private_fn/struct_point.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
// revisions:cfail1 cfail2
1515
// compile-flags: -Z query-dep-graph
16-
// must-compile-successfully
16+
// compile-pass
1717

1818
#![feature(rustc_attrs)]
1919
#![feature(stmt_expr_attributes)]

src/test/incremental/change_private_fn_cc/struct_point.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// revisions:cfail1 cfail2
1515
// compile-flags: -Z query-dep-graph
1616
// aux-build:point.rs
17-
// must-compile-successfully
17+
// compile-pass
1818

1919
#![crate_type = "rlib"]
2020
#![feature(rustc_attrs)]

src/test/incremental/change_private_impl_method/struct_point.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
// revisions:cfail1 cfail2
1515
// compile-flags: -Z query-dep-graph
16-
// must-compile-successfully
16+
// compile-pass
1717

1818
#![feature(rustc_attrs)]
1919
#![feature(stmt_expr_attributes)]

src/test/incremental/change_private_impl_method_cc/struct_point.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// revisions:cfail1 cfail2
1515
// compile-flags: -Z query-dep-graph
1616
// aux-build:point.rs
17-
// must-compile-successfully
17+
// compile-pass
1818

1919
#![crate_type = "rlib"]
2020
#![feature(rustc_attrs)]

src/test/incremental/change_pub_inherent_method_body/struct_point.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
// revisions:cfail1 cfail2
1414
// compile-flags: -Z query-dep-graph
15-
// must-compile-successfully
15+
// compile-pass
1616

1717
#![crate_type = "rlib"]
1818
#![feature(rustc_attrs)]

src/test/incremental/change_pub_inherent_method_sig/struct_point.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
// revisions:cfail1 cfail2
1414
// compile-flags: -Z query-dep-graph
15-
// must-compile-successfully
15+
// compile-pass
1616

1717
#![crate_type = "rlib"]
1818
#![feature(rustc_attrs)]

src/test/incremental/hashes/call_expressions.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// and make sure that the hash has changed, then change nothing between rev2 and
1717
// rev3 and make sure that the hash has not changed.
1818

19-
// must-compile-successfully
19+
// compile-pass
2020
// revisions: cfail1 cfail2 cfail3
2121
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
2222

src/test/incremental/hashes/closure_expressions.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// and make sure that the hash has changed, then change nothing between rev2 and
1717
// rev3 and make sure that the hash has not changed.
1818

19-
// must-compile-successfully
19+
// compile-pass
2020
// revisions: cfail1 cfail2 cfail3
2121
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
2222

src/test/incremental/hashes/consts.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// and make sure that the hash has changed, then change nothing between rev2 and
1717
// rev3 and make sure that the hash has not changed.
1818

19-
// must-compile-successfully
19+
// compile-pass
2020
// revisions: cfail1 cfail2 cfail3
2121
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
2222

src/test/incremental/hashes/enum_constructors.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// and make sure that the hash has changed, then change nothing between rev2 and
1717
// rev3 and make sure that the hash has not changed.
1818

19-
// must-compile-successfully
19+
// compile-pass
2020
// revisions: cfail1 cfail2 cfail3
2121
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
2222

src/test/incremental/hashes/enum_defs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// results in a change of the ICH for the enum's metadata, and that it stays
2222
// the same between rev2 and rev3.
2323

24-
// must-compile-successfully
24+
// compile-pass
2525
// revisions: cfail1 cfail2 cfail3
2626
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
2727

src/test/incremental/hashes/exported_vs_not.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// must-compile-successfully
11+
// compile-pass
1212
// revisions: cfail1 cfail2 cfail3
1313
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
1414

src/test/incremental/hashes/extern_mods.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// and make sure that the hash has changed, then change nothing between rev2 and
1717
// rev3 and make sure that the hash has not changed.
1818

19-
// must-compile-successfully
19+
// compile-pass
2020
// revisions: cfail1 cfail2 cfail3
2121
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
2222

src/test/incremental/hashes/for_loops.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// and make sure that the hash has changed, then change nothing between rev2 and
1717
// rev3 and make sure that the hash has not changed.
1818

19-
// must-compile-successfully
19+
// compile-pass
2020
// revisions: cfail1 cfail2 cfail3
2121
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
2222

src/test/incremental/hashes/function_interfaces.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// and make sure that the hash has changed, then change nothing between rev2 and
1717
// rev3 and make sure that the hash has not changed.
1818

19-
// must-compile-successfully
19+
// compile-pass
2020
// revisions: cfail1 cfail2 cfail3
2121
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
2222

src/test/incremental/hashes/if_expressions.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// and make sure that the hash has changed, then change nothing between rev2 and
1717
// rev3 and make sure that the hash has not changed.
1818

19-
// must-compile-successfully
19+
// compile-pass
2020
// revisions: cfail1 cfail2 cfail3
2121
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
2222

src/test/incremental/hashes/indexing_expressions.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// and make sure that the hash has changed, then change nothing between rev2 and
1717
// rev3 and make sure that the hash has not changed.
1818

19-
// must-compile-successfully
19+
// compile-pass
2020
// revisions: cfail1 cfail2 cfail3
2121
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
2222

src/test/incremental/hashes/inherent_impls.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// and make sure that the hash has changed, then change nothing between rev2 and
1717
// rev3 and make sure that the hash has not changed.
1818

19-
// must-compile-successfully
19+
// compile-pass
2020
// revisions: cfail1 cfail2 cfail3
2121
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
2222

src/test/incremental/hashes/inline_asm.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// and make sure that the hash has changed, then change nothing between rev2 and
1717
// rev3 and make sure that the hash has not changed.
1818

19-
// must-compile-successfully
19+
// compile-pass
2020
// revisions: cfail1 cfail2 cfail3
2121
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
2222

src/test/incremental/hashes/let_expressions.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// and make sure that the hash has changed, then change nothing between rev2 and
1717
// rev3 and make sure that the hash has not changed.
1818

19-
// must-compile-successfully
19+
// compile-pass
2020
// revisions: cfail1 cfail2 cfail3
2121
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
2222

src/test/incremental/hashes/loop_expressions.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// and make sure that the hash has changed, then change nothing between rev2 and
1717
// rev3 and make sure that the hash has not changed.
1818

19-
// must-compile-successfully
19+
// compile-pass
2020
// revisions: cfail1 cfail2 cfail3
2121
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
2222

src/test/incremental/hashes/match_expressions.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// and make sure that the hash has changed, then change nothing between rev2 and
1717
// rev3 and make sure that the hash has not changed.
1818

19-
// must-compile-successfully
19+
// compile-pass
2020
// revisions: cfail1 cfail2 cfail3
2121
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
2222

src/test/incremental/hashes/panic_exprs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
// and make sure that the hash has changed, then change nothing between rev2 and
1919
// rev3 and make sure that the hash has not changed.
2020

21-
// must-compile-successfully
21+
// compile-pass
2222
// revisions: cfail1 cfail2 cfail3
2323
// compile-flags: -Z query-dep-graph -C debug-assertions
2424

src/test/incremental/hashes/statics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// and make sure that the hash has changed, then change nothing between rev2 and
1717
// rev3 and make sure that the hash has not changed.
1818

19-
// must-compile-successfully
19+
// compile-pass
2020
// revisions: cfail1 cfail2 cfail3
2121
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
2222

src/test/incremental/hashes/struct_constructors.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// and make sure that the hash has changed, then change nothing between rev2 and
1717
// rev3 and make sure that the hash has not changed.
1818

19-
// must-compile-successfully
19+
// compile-pass
2020
// revisions: cfail1 cfail2 cfail3
2121
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
2222

src/test/incremental/hashes/struct_defs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// results in a change of the ICH for the struct's metadata, and that it stays
2222
// the same between rev2 and rev3.
2323

24-
// must-compile-successfully
24+
// compile-pass
2525
// revisions: cfail1 cfail2 cfail3
2626
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
2727

src/test/incremental/hashes/trait_defs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// results in a change of the ICH for the trait's metadata, and that it stays
2222
// the same between rev2 and rev3.
2323

24-
// must-compile-successfully
24+
// compile-pass
2525
// revisions: cfail1 cfail2 cfail3
2626
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
2727

src/test/incremental/hashes/trait_impls.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// and make sure that the hash has changed, then change nothing between rev2 and
1717
// rev3 and make sure that the hash has not changed.
1818

19-
// must-compile-successfully
19+
// compile-pass
2020
// revisions: cfail1 cfail2 cfail3
2121
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
2222

src/test/incremental/hashes/type_defs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// results in a change of the ICH for the enum's metadata, and that it stays
2222
// the same between rev2 and rev3.
2323

24-
// must-compile-successfully
24+
// compile-pass
2525
// revisions: cfail1 cfail2 cfail3
2626
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
2727

src/test/incremental/hashes/unary_and_binary_exprs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// and make sure that the hash has changed, then change nothing between rev2 and
1717
// rev3 and make sure that the hash has not changed.
1818

19-
// must-compile-successfully
19+
// compile-pass
2020
// revisions: cfail1 cfail2 cfail3
2121
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
2222

src/test/incremental/hashes/while_let_loops.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// and make sure that the hash has changed, then change nothing between rev2 and
1717
// rev3 and make sure that the hash has not changed.
1818

19-
// must-compile-successfully
19+
// compile-pass
2020
// revisions: cfail1 cfail2 cfail3
2121
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
2222

0 commit comments

Comments
 (0)