Rollup merge of #104426 - aDotInTheVoid:test-102154, r=compiler-errors
Add test for #102154 Closes #102154
This commit is contained in:
commit
7c7cb7182f
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…
x
Reference in New Issue
Block a user