Skip to content

Commit 2c756e8

Browse files
committed
test(parallel): Add regression test for fn_sig cycle arity ICE #153391
1 parent 64b72a1 commit 2c756e8

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// Regression test for #153391.
2+
//
3+
//@ edition:2024
4+
//@ compile-flags: -Z threads=16
5+
//@ error-pattern: expected a type, found a trait
6+
7+
trait A {
8+
fn g() -> B;
9+
}
10+
11+
trait B {
12+
fn bar(&self, x: &A);
13+
}
14+
15+
fn main() {}

0 commit comments

Comments
 (0)