summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/auxiliary/external-macro-src.rs
blob: ce20ca5c91e6b79ba5a9dfa6d3d2e209cd295b2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// compile-flags:--remap-path-prefix={{src-base}}=/does-not-exist

#![doc(html_root_url = "https://example.com/")]

#[macro_export]
macro_rules! make_foo {
    () => {
        pub struct Foo;
        impl Foo {
            pub fn new() -> Foo {
                Foo
            }
        }
    }
}