]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/inline_cross/issue-24183.rs
Rollup merge of #106935 - TaKO8Ki:fix-104440, r=cjgillot
[rust.git] / tests / rustdoc / inline_cross / issue-24183.rs
1 #![crate_type = "lib"]
2 #![crate_name = "usr"]
3
4 // aux-crate:issue_24183=issue-24183.rs
5 // edition: 2021
6
7 // @has usr/trait.U.html
8 // @has - '//*[@class="item-decl"]' "pub trait U {"
9 // @has - '//*[@id="method.modified"]' \
10 // "fn modified(self) -> Self\
11 // where \
12 //     Self: Sized"
13 // @snapshot method_no_where_self_sized - '//*[@id="method.touch"]/*[@class="code-header"]'
14 pub use issue_24183::U;
15
16 // @has usr/trait.S.html
17 // @has - '//*[@class="item-decl"]' 'pub trait S: Sized {'
18 pub use issue_24183::S;