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

#![feature(no_core)]
#![no_core]

mod auto {
    mod action_row {
        pub struct ActionRowBuilder;
    }

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

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

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