2020-09-26 20:27:55 -05:00
|
|
|
//@ compile-flags: --document-private-items
|
2021-04-04 15:23:08 -05:00
|
|
|
|
|
|
|
// make sure to update `rustdoc-ui/intra-doc/private.rs` if you update this file
|
|
|
|
|
2021-11-26 17:03:16 -06:00
|
|
|
#![allow(rustdoc::private_intra_doc_links)]
|
|
|
|
|
|
|
|
#![crate_name = "private"]
|
|
|
|
|
2021-04-04 15:23:08 -05:00
|
|
|
/// docs [DontDocMe] [DontDocMe::f] [DontDocMe::x]
|
2024-06-21 07:03:08 -05: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-26 20:27:55 -05:00
|
|
|
pub struct DocMe;
|
2021-04-04 15:23:08 -05:00
|
|
|
struct DontDocMe {
|
|
|
|
x: usize,
|
|
|
|
}
|
|
|
|
|
|
|
|
impl DontDocMe {
|
|
|
|
fn f() {}
|
|
|
|
}
|