]> git.proxmox.com Git - rustc.git/blob - src/test/rustdoc/auxiliary/external-macro-src.rs
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / 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 }