Skip to content

Commit 7c7cb71

Browse files
authored
Rollup merge of #104426 - aDotInTheVoid:test-102154, r=compiler-errors
Add test for #102154 Closes #102154
2 parents ce263b7 + 9214673 commit 7c7cb71

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/test/rustdoc/issue-102154.rs

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
trait A<Y, N> {
2+
type B;
3+
}
4+
type MaybeBox<T> = <T as A<T, Box<T>>>::B;
5+
struct P {
6+
t: MaybeBox<P>
7+
}
8+
impl<Y, N> A<Y, N> for P {
9+
type B = N;
10+
}
11+
fn main() {
12+
let t: MaybeBox<P>;
13+
}

0 commit comments

Comments
 (0)