]> git.proxmox.com Git - rustc.git/blob - src/test/rustdoc-ui/coverage/exotic.rs
New upstream version 1.49.0+dfsg1
[rustc.git] / src / test / rustdoc-ui / coverage / exotic.rs
1 // compile-flags:-Z unstable-options --show-coverage
2 // check-pass
3
4 #![feature(doc_keyword)]
5
6 //! the features only used in std also have entries in the table, so make sure those get pulled out
7 //! properly as well
8
9 /// woo, check it out, we can write our own primitive docs lol
10 #[doc(primitive="unit")]
11 mod prim_unit {}
12
13 /// keywords? sure, pile them on
14 #[doc(keyword="where")]
15 mod where_keyword {}