2022-02-22 14:21:15 +00:00
|
|
|
#![crate_name = "foo"]
|
|
|
|
|
|
|
|
// This test ensures that there is no "infinite redirection" file generated (a
|
|
|
|
// file which redirects to itself).
|
|
|
|
|
|
|
|
// We check it's not a redirection file.
|
2024-06-21 12:03:08 +00:00
|
|
|
//@ has 'foo/builders/struct.ActionRowBuilder.html'
|
|
|
|
//@ has - '//*[@id="synthetic-implementations"]' 'Auto Trait Implementations'
|
2022-02-22 14:21:15 +00:00
|
|
|
|
2022-08-18 02:13:37 +00:00
|
|
|
// And that the link in the module is targeting it.
|
2024-06-21 12:03:08 +00:00
|
|
|
//@ has 'foo/builders/index.html'
|
|
|
|
//@ has - '//a[@href="struct.ActionRowBuilder.html"]' 'ActionRowBuilder'
|
2022-02-22 14:21:15 +00:00
|
|
|
|
|
|
|
mod auto {
|
|
|
|
mod action_row {
|
|
|
|
pub struct ActionRowBuilder;
|
|
|
|
}
|
|
|
|
|
|
|
|
#[doc(hidden)]
|
|
|
|
pub mod builders {
|
|
|
|
pub use super::action_row::ActionRowBuilder;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
pub use auto::*;
|
|
|
|
|
|
|
|
pub mod builders {
|
|
|
|
pub use crate::auto::builders::*;
|
|
|
|
}
|