mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 06:22:00 +00:00
17 lines
277 B
Rust
17 lines
277 B
Rust
// aux-build:issue-53689.rs
|
|
|
|
#![crate_name = "foo"]
|
|
|
|
extern crate issue_53689;
|
|
|
|
// @has foo/trait.MyTrait.html
|
|
// @!hasraw - 'MyStruct'
|
|
// @count - '//*[h3="impl<T> MyTrait for T"]' 1
|
|
pub trait MyTrait {}
|
|
|
|
impl<T> MyTrait for T {}
|
|
|
|
mod a {
|
|
pub use issue_53689::MyStruct;
|
|
}
|