rust/tests/rustdoc-json/doc_hidden_failure.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
467 B
Rust
Raw Normal View History

2022-07-15 10:48:46 -05:00
// 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')]" 1
// @has "$.index[*][?(@.name == 'ActionRowBuilder')"]
2022-07-15 10:48:46 -05:00
pub use auto::*;
pub mod builders {
pub use crate::auto::builders::*;
}