rust/tests/rustdoc-ui/coverage/exotic.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
438 B
Rust
Raw Normal View History

2019-02-21 16:02:56 -06:00
// compile-flags:-Z unstable-options --show-coverage
// check-pass
2019-02-21 16:02:56 -06:00
2021-10-30 10:44:50 -05:00
#![feature(rustdoc_internals)]
2023-03-21 10:44:06 -05:00
#![feature(rustc_attrs)]
2019-02-21 16:02:56 -06:00
//! the features only used in std also have entries in the table, so make sure those get pulled out
//! properly as well
/// woo, check it out, we can write our own primitive docs lol
2023-03-21 10:44:06 -05:00
#[rustc_doc_primitive = "unit"]
2019-02-21 16:02:56 -06:00
mod prim_unit {}
/// keywords? sure, pile them on
#[doc(keyword="where")]
mod where_keyword {}