|
// Regression test for <https://github.com/rust-lang/rust/issues/112515>. |
|
// It's to ensure that this code doesn't have infinite loop in rustdoc when |
|
// trying to retrieve type alias implementations. |
|
// ignore-tidy-linelength |
|
pub type Boom = S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<S<u64, u8>, ()>, ()>, ()>, u8>, ()>, u8>, ()>, u8>, u8>, ()>, ()>, ()>, u8>, u8>, u8>, ()>, ()>, u8>, ()>, ()>, ()>, u8>, u8>, ()>, ()>, ()>, ()>, ()>, u8>, ()>, ()>, u8>, ()>, ()>, ()>, u8>, ()>, ()>, u8>, u8>, u8>, u8>, ()>, u8>, ()>, ()>, ()>, ()>, ()>, ()>, ()>, ()>, ()>, ()>, ()>, ()>, ()>, ()>, ()>, ()>, ()>, ()>, ()>; |
|
pub struct S<T, U>(T, U); |
|
impl<T, U> A for S<T, U> {} |
|
impl<T> B<u8> for S<T, ()> |
|
impl<T: A, U, V> B<T> for S<U, V> { |