rust/tests/ui/feature-gates/feature-gate-rustdoc_internals.rs
2023-01-11 09:32:08 +00:00

11 lines
255 B
Rust

#[doc(keyword = "match")] //~ ERROR: `#[doc(keyword)]` is meant for internal use only
/// wonderful
mod foo {}
trait Mine {}
#[doc(fake_variadic)] //~ ERROR: `#[doc(fake_variadic)]` is meant for internal use only
impl<T> Mine for (T,) {}
fn main() {}