Skip to content

Commit

Permalink
use check-pass instead of build-pass in consts ui test suits
Browse files Browse the repository at this point in the history
  • Loading branch information
sasurau4 committed Nov 10, 2020
1 parent 4051473 commit d757ecd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/test/ui/consts/const-block-non-item-statement.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// build-pass (FIXME(62277): could be check-pass?)
// check-pass

enum Foo {
Bar = { let x = 1; 3 }
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/consts/const-fn-destructuring-arg.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// build-pass (FIXME(62277): could be check-pass?)
// check-pass

const fn i((a, b): (u32, u32)) -> u32 {
a + b
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/consts/const_let_assign.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// build-pass (FIXME(62277): could be check-pass?)
// check-pass

struct S(i32);

Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/consts/const_let_assign2.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// build-pass (FIXME(62277): could be check-pass?)
// check-pass

pub struct AA {
pub data: [u8; 10],
Expand Down

0 comments on commit d757ecd

Please sign in to comment.