foo/foo.rs
pub trait T {
/// You want doc, here is doc!
///
/// blablala
type F;
/// You want doc, here is doc!
///
/// blablala
const X: u32;
/// You want doc, here is doc!
///
/// blablala
fn foo() {}
/// You want doc, here is doc!
///
/// blablala
fn bar();
}