]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/extern-impl-trait.rs
Rollup merge of #105172 - alexs-sh:issue-98861-fix-next, r=scottmcm
[rust.git] / tests / rustdoc / extern-impl-trait.rs
1 // aux-build:extern-impl-trait.rs
2
3 #![crate_name = "foo"]
4
5 extern crate extern_impl_trait;
6
7 // @has 'foo/struct.X.html' '//h4[@class="code-header"]' "impl Foo<Associated = ()> + 'a"
8 pub use extern_impl_trait::X;
9
10 // @has 'foo/struct.Y.html' '//h4[@class="code-header"]' "impl ?Sized + Foo<Associated = ()> + 'a"
11 pub use extern_impl_trait::Y;