Skip to content

Commit

Permalink
Add test for #102154
Browse files Browse the repository at this point in the history
  • Loading branch information
aDotInTheVoid committed Nov 14, 2022
1 parent 96ddd32 commit 9214673
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 9214673

Please sign in to comment.