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

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

16 lines
406 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)]
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
#[doc(primitive="unit")]
mod prim_unit {}
/// keywords? sure, pile them on
#[doc(keyword="where")]
mod where_keyword {}