rust/tests/rustdoc/extern-impl-trait.rs

12 lines
342 B
Rust
Raw Normal View History

// aux-build:extern-impl-trait.rs
#![crate_name = "foo"]
extern crate extern_impl_trait;
// @has 'foo/struct.X.html' '//h4[@class="code-header"]' "impl Foo<Associated = ()> + 'a"
pub use extern_impl_trait::X;
2023-07-25 19:11:35 -05:00
// @has 'foo/struct.Y.html' '//h4[@class="code-header"]' "impl Foo<Associated = ()> + ?Sized + 'a"
pub use extern_impl_trait::Y;