blob: 468b36c746db35832d7192690c0b4140d6bfdfbc [file]
// This test ensures that the `foo` decl macro is present in the module sidebar.
#![feature(decl_macro)]
#![crate_name = "foo"]
//@has 'foo/bar/index.html'
//@has - '//*[@id="rustdoc-modnav"]/ul[@class="block macro"]//a[@href="../macro.foo.html"]' 'foo'
pub macro foo {
() => { "bar" }
}
/// docs
pub mod bar {
}