summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/auxiliary/issue-99221-aux.rs
blob: e061e42b29db805942376fb13066c5546d8fadcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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;