about summary refs log tree commit diff
path: root/tests/rustdoc/auxiliary/external-macro-src.rs
blob: 79df5dc98ebab4133f1fc7d6279d58f70194e8b3 (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
            }
        }
    }
}