Skip to content

Commit

Permalink
Rename ui test flag compile-pass to must-compile-successfully
Browse files Browse the repository at this point in the history
  • Loading branch information
pietroalbini committed Apr 25, 2018
1 parent 731c704 commit 656d825
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/test/ui/const-eval/conditional_array_execution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// compile-pass
// must-compile-successfully

const X: u32 = 5;
const Y: u32 = 6;
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/const-eval/issue-43197.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// compile-pass
// must-compile-successfully

#![feature(const_fn)]

Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/const-eval/issue-44578.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// compile-pass
// must-compile-successfully

trait Foo {
const AMT: usize;
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/const-eval/promoted_errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// compile-pass
// must-compile-successfully
// compile-flags: -O
fn main() {
println!("{}", 0u32 - 1);
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/const-eval/pub_const_err.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// compile-pass
// must-compile-successfully

#![crate_type = "lib"]

Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/const-eval/pub_const_err_bin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// compile-pass
// must-compile-successfully

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

0 comments on commit 656d825

Please sign in to comment.