Skip to content

Commit c9c1d53

Browse files
committed
Re-enable parallel frontend tests for post-monomorphization errors
These were marked ignore-parallel-frontend because the spurious instantiation note made their output nondeterministic under -Zthreads. With that fixed they pass reliably. Replace the directive with a blank line rather than deleting it, so the following line numbers stay the same and the expected output is unchanged.
1 parent 22384f4 commit c9c1d53

29 files changed

Lines changed: 29 additions & 29 deletions

tests/ui/abi/simd-abi-checks-avx.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//@ only-x86_64
22
//@ build-fail
33
//@ compile-flags: -C target-feature=-avx
4-
//@ ignore-parallel-frontend post-monomorphization errors
4+
55
#![feature(portable_simd)]
66
#![feature(simd_ffi)]
77
#![allow(improper_ctypes_definitions)]

tests/ui/consts/const-eval/index-out-of-bounds-never-type.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//@ build-fail
2-
//@ ignore-parallel-frontend post-monomorphization errors
2+
33
// Regression test for #66975
44
#![warn(unconditional_panic)]
55
#![feature(never_type)]

tests/ui/consts/const-eval/issue-50814-2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//@ revisions: normal mir-opt
33
//@ [mir-opt]compile-flags: -Zmir-opt-level=4
44
//@ dont-require-annotations: NOTE
5-
//@ ignore-parallel-frontend post-monomorphization errors
5+
66
trait C {
77
const BOO: usize;
88
}

tests/ui/consts/const-eval/issue-50814.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//@ build-fail
22
//@ dont-require-annotations: NOTE
3-
//@ ignore-parallel-frontend post-monomorphization errors
3+
44
trait Unsigned {
55
const MAX: u8;
66
}

tests/ui/consts/mono-reachable-invalid-const.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//@ build-fail
2-
//@ ignore-parallel-frontend post-monomorphization errors
2+
33
struct Bar<const BITS: usize>;
44

55
impl<const BITS: usize> Bar<BITS> {

tests/ui/consts/required-consts/collect-in-called-fn.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//@[opt] compile-flags: -O
55
//! Make sure we detect erroneous constants post-monomorphization even when they are unused. This is
66
//! crucial, people rely on it for soundness. (https://github.com/rust-lang/rust/issues/112090)
7-
//@ ignore-parallel-frontend post-monomorphization errors
7+
88
struct Fail<T>(T);
99
impl<T> Fail<T> {
1010
const C: () = panic!(); //~ERROR evaluation panicked: explicit panic

tests/ui/consts/required-consts/collect-in-dead-closure.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//@[noopt] compile-flags: -Copt-level=0
44
//@[opt] compile-flags: -O
55
//! This fails without optimizations, so it should also fail with optimizations.
6-
//@ ignore-parallel-frontend post-monomorphization errors
6+
77
struct Fail<T>(T);
88
impl<T> Fail<T> {
99
const C: () = panic!(); //~ERROR evaluation panicked: explicit panic

tests/ui/consts/required-consts/collect-in-dead-drop.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//@[noopt] compile-flags: -Copt-level=0
44
//@[opt] compile-flags: -O
55
//! This fails without optimizations, so it should also fail with optimizations.
6-
//@ ignore-parallel-frontend post-monomorphization errors
6+
77
struct Fail<T>(T);
88
impl<T> Fail<T> {
99
const C: () = panic!(); //~ERROR evaluation panicked: explicit panic

tests/ui/consts/required-consts/collect-in-dead-fn-behind-assoc-type.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//@[noopt] compile-flags: -Copt-level=0
55
//@[opt] compile-flags: -O
66
//! This fails without optimizations, so it should also fail with optimizations.
7-
//@ ignore-parallel-frontend post-monomorphization errors
7+
88
struct Fail<T>(T);
99
impl<T> Fail<T> {
1010
const C: () = panic!(); //~ERROR evaluation panicked: explicit panic

tests/ui/consts/required-consts/collect-in-dead-fn-behind-generic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//@[noopt] compile-flags: -Copt-level=0
44
//@[opt] compile-flags: -O
55
//! This fails without optimizations, so it should also fail with optimizations.
6-
//@ ignore-parallel-frontend post-monomorphization errors
6+
77
struct Fail<T>(T);
88
impl<T> Fail<T> {
99
const C: () = panic!(); //~ERROR evaluation panicked: explicit panic

0 commit comments

Comments
 (0)