mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 20:54:13 +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;
|