summaryrefslogtreecommitdiffstats
path: root/src/test/ui/feature-gates/feature-gate-rustdoc_internals.rs
blob: 58306a4cfc9c9d03e342167e0d044c3cef27029f (plain)
1
2
3
4
5
6
7
8
9
10
#[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() {}