2020-09-27 01:27:55 +00:00
|
|
|
//@ compile-flags: --document-private-items
|
2021-04-04 20:23:08 +00:00
|
|
|
|
|
|
|
// make sure to update `rustdoc-ui/intra-doc/private.rs` if you update this file
|
|
|
|
|
2021-11-26 23:03:16 +00:00
|
|
|
#![allow(rustdoc::private_intra_doc_links)]
|
|
|
|
|
|
|
|
#![crate_name = "private"]
|
|
|
|
|
2021-04-04 20:23:08 +00:00
|
|
|
/// docs [DontDocMe] [DontDocMe::f] [DontDocMe::x]
|
2024-06-21 12:03:08 +00:00
|
|
|
//@ has private/struct.DocMe.html '//*a[@href="struct.DontDocMe.html"]' 'DontDocMe'
|
|
|
|
//@ has private/struct.DocMe.html '//*a[@href="struct.DontDocMe.html#method.f"]' 'DontDocMe::f'
|
|
|
|
//@ has private/struct.DocMe.html '//*a[@href="struct.DontDocMe.html#structfield.x"]' 'DontDocMe::x'
|
2020-09-27 01:27:55 +00:00
|
|
|
pub struct DocMe;
|
2021-04-04 20:23:08 +00:00
|
|
|
struct DontDocMe {
|
|
|
|
x: usize,
|
|
|
|
}
|
|
|
|
|
|
|
|
impl DontDocMe {
|
|
|
|
fn f() {}
|
|
|
|
}
|