rust/tests/rustdoc/external-macro-src.rs
2024-10-23 19:15:23 -04:00

13 lines
315 B
Rust

//@ aux-build:external-macro-src.rs
#![crate_name = "foo"]
#[macro_use]
extern crate external_macro_src;
//@ has foo/index.html '//a[@href="../src/foo/external-macro-src.rs.html#3-12"]' 'Source'
//@ has foo/struct.Foo.html
//@ has - '//a[@href="../src/foo/external-macro-src.rs.html#12"]' 'Source'
make_foo!();