rust/tests/rustdoc/issue-53689.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
277 B
Rust
Raw Normal View History

// aux-build:issue-53689.rs
#![crate_name = "foo"]
extern crate issue_53689;
// @has foo/trait.MyTrait.html
2022-08-12 04:44:07 +00:00
// @!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;
}