Skip to content

Commit 656d825

Browse files
committed
Rename ui test flag compile-pass to must-compile-successfully
1 parent 731c704 commit 656d825

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

src/test/ui/const-eval/conditional_array_execution.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-
// compile-pass
11+
// must-compile-successfully
1212

1313
const X: u32 = 5;
1414
const Y: u32 = 6;

src/test/ui/const-eval/issue-43197.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-
// compile-pass
11+
// must-compile-successfully
1212

1313
#![feature(const_fn)]
1414

src/test/ui/const-eval/issue-44578.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-
// compile-pass
11+
// must-compile-successfully
1212

1313
trait Foo {
1414
const AMT: usize;

src/test/ui/const-eval/promoted_errors.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-
// compile-pass
11+
// must-compile-successfully
1212
// compile-flags: -O
1313
fn main() {
1414
println!("{}", 0u32 - 1);

src/test/ui/const-eval/pub_const_err.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-
// compile-pass
11+
// must-compile-successfully
1212

1313
#![crate_type = "lib"]
1414

src/test/ui/const-eval/pub_const_err_bin.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-
// compile-pass
11+
// must-compile-successfully
1212

1313
pub const Z: u32 = 0 - 1;
1414
//~^ WARN attempt to subtract with overflow

0 commit comments

Comments
 (0)