mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
24 lines
467 B
Rust
24 lines
467 B
Rust
// 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::*;
|
|
}
|