Skip to content

Commit

Permalink
Rollup merge of #104426 - aDotInTheVoid:test-102154, r=compiler-errors
Browse files Browse the repository at this point in the history
Add test for #102154

Closes #102154
  • Loading branch information
matthiaskrgr authored Nov 15, 2022
2 parents ce263b7 + 9214673 commit 7c7cb71
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/test/rustdoc/issue-102154.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
trait A<Y, N> {
type B;
}
type MaybeBox<T> = <T as A<T, Box<T>>>::B;
struct P {
t: MaybeBox<P>
}
impl<Y, N> A<Y, N> for P {
type B = N;
}
fn main() {
let t: MaybeBox<P>;
}

0 comments on commit 7c7cb71

Please sign in to comment.