mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
14 lines
222 B
Rust
14 lines
222 B
Rust
#![crate_name = "foo"]
|
|
|
|
// @has foo/macro.bar.html
|
|
// @has foo/macro.bar!.html
|
|
// @!has foo/bar.m.html
|
|
#[macro_export]
|
|
macro_rules! bar {
|
|
() => {}
|
|
}
|
|
|
|
// @has foo/struct.Bar.html
|
|
// @!has foo/Bar.t.html
|
|
pub struct Bar;
|