mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
16 lines
225 B
Rust
16 lines
225 B
Rust
#![feature(rustdoc_internals)]
|
|
|
|
trait Mine {}
|
|
|
|
// This one is fine
|
|
#[doc(fake_variadic)]
|
|
impl<T> Mine for (T,) {}
|
|
|
|
trait Mine2 {}
|
|
|
|
// This one is not
|
|
#[doc(fake_variadic)] //~ ERROR
|
|
impl<T, U> Mine for (T,U) {}
|
|
|
|
fn main() {}
|