1 #![feature(external_doc)]
2 #![feature(extended_key_value_attributes)]
4 // @has external_doc/struct.CanHasDocs.html
5 // @has - '//h1' 'External Docs'
6 // @has - '//h2' 'Inline Docs'
7 #[doc(include = "auxiliary/external-doc.md")]
11 // @has external_doc/struct.IncludeStrDocs.html
12 // @has - '//h1' 'External Docs'
13 // @has - '//h2' 'Inline Docs'
14 #[doc = include_str!("auxiliary/external-doc.md")]
16 pub struct IncludeStrDocs
;
18 macro_rules
! dir { () => { "auxiliary" }
}
20 // @has external_doc/struct.EagerExpansion.html
21 // @has - '//h1' 'External Docs'
22 #[doc = include_str!(concat!(dir!(), "/external-doc.md"))]
24 pub struct EagerExpansion
;