Skip to content

Commit 8c078fd

Browse files
lcnrJJ_EMPTY_STRING
authored and
JJ_EMPTY_STRING
committed
merge tests
1 parent fef480f commit 8c078fd

File tree

2 files changed

+5
-23
lines changed

2 files changed

+5
-23
lines changed

tests/ui/traits/solver-cycles/129541-recursive-struct-and-array-impl.rs

Lines changed: 0 additions & 23 deletions
This file was deleted.

tests/ui/traits/solver-cycles/129541-recursive-struct.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
// Regression test for #129541
22

3+
//@ revisions: unique multiple
34
//@ check-pass
45

56
trait Bound {}
67
trait Normalize {
78
type Assoc;
89
}
910

11+
#[cfg(multiple)]
12+
impl<T: Bound> Normalize for T {
13+
type Assoc = T;
14+
}
1015
impl<T: Bound> Normalize for [T] {
1116
type Assoc = T;
1217
}

0 commit comments

Comments
 (0)