2020-09-26 20:27:55 -05:00
|
|
|
#![crate_name = "private"]
|
|
|
|
// 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
|
|
|
|
|
|
|
|
/// docs [DontDocMe] [DontDocMe::f] [DontDocMe::x]
|
2020-09-26 20:27:55 -05:00
|
|
|
// @has private/struct.DocMe.html '//*a[@href="../private/struct.DontDocMe.html"]' 'DontDocMe'
|
2021-04-04 15:23:08 -05:00
|
|
|
// @has private/struct.DocMe.html '//*a[@href="../private/struct.DontDocMe.html#method.f"]' 'DontDocMe::f'
|
|
|
|
// @has private/struct.DocMe.html '//*a[@href="../private/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() {}
|
|
|
|
}
|