2022-06-12 15:49:42 -05:00
|
|
|
#![feature(rustdoc_internals)]
|
|
|
|
|
|
|
|
trait Mine {}
|
|
|
|
|
|
|
|
// This one is fine
|
2022-06-16 11:50:57 -05:00
|
|
|
#[doc(fake_variadic)]
|
2022-06-12 15:49:42 -05:00
|
|
|
impl<T> Mine for (T,) {}
|
|
|
|
|
|
|
|
trait Mine2 {}
|
|
|
|
|
|
|
|
// This one is not
|
2022-06-16 11:50:57 -05:00
|
|
|
#[doc(fake_variadic)] //~ ERROR
|
2022-06-12 15:49:42 -05:00
|
|
|
impl<T, U> Mine for (T,U) {}
|
|
|
|
|
|
|
|
fn main() {}
|