Skip to content

Commit 8f0fa24

Browse files
Move some more tests to check-pass
1 parent 7326e53 commit 8f0fa24

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

src/test/ui/consts/const-eval/double_promotion.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// build-pass
1+
// check-pass
22

33
#![feature(const_fn, rustc_attrs)]
44

src/test/ui/consts/const-eval/ice-packed.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
// build-pass
1+
// Regression test for #50356: Compiler panic when using repr(packed)
2+
// associated constant in a match arm
3+
4+
// check-pass
25
#[derive(Copy, Clone, PartialEq, Eq)]
36
#[repr(packed)]
47
pub struct Num(u64);

src/test/ui/consts/const-eval/issue-51300.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// build-pass
1+
// check-pass
22
// https://github.com/rust-lang/rust/issues/51300
33

44
#[derive(PartialEq, Eq, Clone, Copy)]

0 commit comments

Comments
 (0)