Skip to content

Commit 5831003

Browse files
authored
Rollup merge of #69460 - LeSeulArtichaut:move-compile-pass, r=RalfJung
Move some `build-pass` tests to `check-pass` Helps with #62277. r? @cramertj cc @Centril
2 parents 9252153 + 8f0fa24 commit 5831003

20 files changed

+23
-20
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// build-pass (FIXME(62277): could be check-pass?)
1+
// check-pass
22

33
pub trait Foo {
44
fn foo(self) -> u32;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// build-pass (FIXME(62277): could be check-pass?)
1+
// check-pass
22

33
fn main() {
44
const MIN: i8 = -5;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// build-pass (FIXME(62277): could be check-pass?)
1+
// check-pass
22

33
enum Foo {
44
A = 5,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// build-pass (FIXME(62277): could be check-pass?)
1+
// check-pass
22

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// build-pass (FIXME(62277): could be check-pass?)
1+
// check-pass
22

33
use std::time::Duration;
44

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// build-pass (FIXME(62277): could be check-pass?)
1+
// check-pass
22

33
#![feature(extern_types)]
44

src/test/ui/consts/const-eval/ice-generic-assoc-const.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// build-pass (FIXME(62277): could be check-pass?)
1+
// check-pass
22

33
pub trait Nullable {
44
const NULL: Self;

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
// build-pass (FIXME(62277): could be check-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-47971.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// build-pass (FIXME(62277): could be check-pass?)
1+
// check-pass
22

33
struct S(pub &'static u32, pub u32);
44

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// build-pass (FIXME(62277): could be check-pass?)
1+
// check-pass
22

33
pub struct Stats;
44

0 commit comments

Comments
 (0)