]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/auxiliary/external-macro-src.rs
Rollup merge of #106709 - khuey:disable_split_dwarf_inlining_by_default, r=davidtwco
[rust.git] / tests / rustdoc / auxiliary / external-macro-src.rs
1 // compile-flags:--remap-path-prefix={{src-base}}=/does-not-exist
2
3 #![doc(html_root_url = "https://example.com/")]
4
5 #[macro_export]
6 macro_rules! make_foo {
7     () => {
8         pub struct Foo;
9         impl Foo {
10             pub fn new() -> Foo {
11                 Foo
12             }
13         }
14     }
15 }