2019-02-21 16:02:56 -06:00
|
|
|
// compile-flags:-Z unstable-options --show-coverage
|
2020-04-19 18:40:53 -05:00
|
|
|
// 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 {}
|