Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
19
tests/rustdoc/macro-document-private.rs
Normal file
19
tests/rustdoc/macro-document-private.rs
Normal file
|
@ -0,0 +1,19 @@
|
|||
// Checks that private macros are documented when `--document-private-items`
|
||||
// is present.
|
||||
//
|
||||
// This is a regression test for issue #73754.
|
||||
//
|
||||
// compile-flags: --document-private-items
|
||||
|
||||
#![feature(decl_macro)]
|
||||
|
||||
|
||||
// @has macro_document_private/macro.some_macro.html
|
||||
macro some_macro {
|
||||
(a: tt) => {}
|
||||
}
|
||||
|
||||
// @has macro_document_private/macro.another_macro.html
|
||||
macro_rules! another_macro {
|
||||
(a: tt) => {}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue