Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
23
tests/rustdoc-json/doc_hidden_failure.rs
Normal file
23
tests/rustdoc-json/doc_hidden_failure.rs
Normal file
|
@ -0,0 +1,23 @@
|
|||
// 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')"]
|
||||
pub use auto::*;
|
||||
|
||||
pub mod builders {
|
||||
pub use crate::auto::builders::*;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue