summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-json/doc_hidden_failure.rs
blob: e2ce66c99e4c7e9a57d656024fe0d7fac886a839 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Regression test for <https://github.com/rust-lang/rust/issues/98007>.

mod auto {
    mod action_row {
        pub struct ActionRowBuilder;
    }

    #[doc(hidden)]
    pub mod builders {
        pub use super::action_row::ActionRowBuilder;
    }
}

// @count "$.index[*][?(@.name=='builders')]" 1
// @has "$.index[*][?(@.name == 'ActionRowBuilder')"]
pub use auto::*;

pub mod builders {
    pub use crate::auto::builders::*;
}