]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/external-doc.rs
Migrate `rustc_parse` to derive diagnostics
[rust.git] / tests / rustdoc / external-doc.rs
1 // @has external_doc/struct.IncludeStrDocs.html
2 // @has - '//h2' 'External Docs'
3 // @has - '//h3' 'Inline Docs'
4 #[doc = include_str!("auxiliary/external-doc.md")]
5 /// ## Inline Docs
6 pub struct IncludeStrDocs;
7
8 macro_rules! dir { () => { "auxiliary" } }
9
10 // @has external_doc/struct.EagerExpansion.html
11 // @has - '//h2' 'External Docs'
12 #[doc = include_str!(concat!(dir!(), "/external-doc.md"))]
13 /// ## Inline Docs
14 pub struct EagerExpansion;