Created tests/rustdoc/macro subfolder to limit number of files at the top level
This commit is contained in:
parent
eee6c97535
commit
d1f4a0bcb6
29 changed files with 20 additions and 0 deletions
20
tests/rustdoc/macro/auxiliary/issue-99221-aux.rs
Normal file
20
tests/rustdoc/macro/auxiliary/issue-99221-aux.rs
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
pub struct Option;
|
||||
impl Option {
|
||||
pub fn unwrap(self) {}
|
||||
}
|
||||
|
||||
mod macros {
|
||||
use crate::Option;
|
||||
/// [`Option::unwrap`]
|
||||
#[macro_export]
|
||||
macro_rules! print {
|
||||
() => ()
|
||||
}
|
||||
}
|
||||
|
||||
mod structs {
|
||||
use crate::Option;
|
||||
/// [`Option::unwrap`]
|
||||
pub struct Print;
|
||||
}
|
||||
pub use structs::Print;
|
||||
Loading…
Add table
Add a link
Reference in a new issue