Add test for #102154
This commit is contained in:
parent
96ddd32c4b
commit
9214673331
1 changed files with 13 additions and 0 deletions
13
src/test/rustdoc/issue-102154.rs
Normal file
13
src/test/rustdoc/issue-102154.rs
Normal file
|
@ -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>;
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue