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

17 lines
438 B
Rust
Raw Normal View History

2019-02-21 22:02:56 +00:00
// compile-flags:-Z unstable-options --show-coverage
// check-pass
2019-02-21 22:02:56 +00:00
2021-10-30 15:44:50 +00:00
#![feature(rustdoc_internals)]
2023-03-21 15:44:06 +00:00
#![feature(rustc_attrs)]
2019-02-21 22:02:56 +00: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 15:44:06 +00:00
#[rustc_doc_primitive = "unit"]
2019-02-21 22:02:56 +00:00
mod prim_unit {}
/// keywords? sure, pile them on
#[doc(keyword="where")]
mod where_keyword {}