Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
16
tests/rustdoc/macro-indirect-use.rs
Normal file
16
tests/rustdoc/macro-indirect-use.rs
Normal file
|
@ -0,0 +1,16 @@
|
|||
// Checks that it is possible to make a macro public through a `pub use` of its
|
||||
// parent module.
|
||||
//
|
||||
// This is a regression test for issue #87257.
|
||||
|
||||
#![feature(decl_macro)]
|
||||
|
||||
mod outer {
|
||||
pub mod inner {
|
||||
pub macro some_macro() {}
|
||||
}
|
||||
}
|
||||
|
||||
// @has macro_indirect_use/inner/index.html
|
||||
// @has macro_indirect_use/inner/macro.some_macro.html
|
||||
pub use outer::inner;
|
Loading…
Add table
Add a link
Reference in a new issue