]>
git.proxmox.com Git - rustc.git/blob - tests/rustdoc/issue-20727-3.rs
1 // aux-build:issue-20727.rs
2 // ignore-cross-compile
4 extern crate issue_20727
;
8 // @has issue_20727_3/trait.Deref2.html
10 // @has - '//div[@class="item-decl"]/pre[@class="rust"]' 'trait Deref2 {'
11 // @has - '//div[@class="item-decl"]/pre[@class="rust"]' 'type Target: Bar;'
14 // @has - '//div[@class="item-decl"]/pre[@class="rust"]' 'fn deref(&self) -> Self::Target;'
15 fn deref(&self) -> Self::Target
;
18 // @has issue_20727_3/reexport/trait.Deref2.html
20 // @has - '//div[@class="item-decl"]/pre[@class="rust"]' 'trait Deref2 {'
21 // @has - '//div[@class="item-decl"]/pre[@class="rust"]' 'type Target: Bar;'
22 // @has - '//div[@class="item-decl"]/pre[@class="rust"]' 'fn deref(&self) -> Self::Target;'
23 pub use issue_20727
::Deref2
;