summary refs log tree commit diff
path: root/src/test/rustdoc/extern-impl-trait.rs
blob: 58bd650feb4669cb39a2f4fc12a1e50e13892e14 (plain)
1
2
3
4
5
6
7
8
9
10
11
// aux-build:extern-impl-trait.rs

#![crate_name = "foo"]

extern crate extern_impl_trait;

// @has 'foo/struct.X.html' '//code' "impl Foo<Associated = ()> + 'a"
pub use extern_impl_trait::X;

// @has 'foo/struct.Y.html' '//code' "impl ?Sized + Foo<Associated = ()> + 'a"
pub use extern_impl_trait::Y;