]>
Commit | Line | Data |
---|---|---|
9c376795 FG |
1 | // aux-build:issue-20727.rs |
2 | // ignore-cross-compile | |
3 | ||
4 | extern crate issue_20727; | |
5 | ||
6 | // @has issue_20727/trait.Deref.html | |
7 | pub trait Deref { | |
9ffffee4 FG |
8 | // @has - '//pre[@class="rust item-decl"]' 'trait Deref {' |
9 | // @has - '//pre[@class="rust item-decl"]' 'type Target: ?Sized;' | |
9c376795 FG |
10 | type Target: ?Sized; |
11 | ||
9ffffee4 | 12 | // @has - '//pre[@class="rust item-decl"]' \ |
9c376795 FG |
13 | // "fn deref<'a>(&'a self) -> &'a Self::Target;" |
14 | fn deref<'a>(&'a self) -> &'a Self::Target; | |
15 | } | |
16 | ||
17 | // @has issue_20727/reexport/trait.Deref.html | |
18 | pub mod reexport { | |
9ffffee4 FG |
19 | // @has - '//pre[@class="rust item-decl"]' 'trait Deref {' |
20 | // @has - '//pre[@class="rust item-decl"]' 'type Target: ?Sized;' | |
21 | // @has - '//pre[@class="rust item-decl"]' \ | |
9c376795 FG |
22 | // "fn deref<'a>(&'a self) -> &'a Self::Target;" |
23 | pub use issue_20727::Deref; | |
24 | } |