2015-04-07 07:16:35 +00:00
|
|
|
// aux-build:issue-20727.rs
|
2015-04-22 22:22:36 +00:00
|
|
|
// ignore-cross-compile
|
2015-04-07 07:16:35 +00:00
|
|
|
|
|
|
|
extern crate issue_20727;
|
|
|
|
|
|
|
|
// @has issue_20727/trait.Deref.html
|
|
|
|
pub trait Deref {
|
2023-01-30 18:05:12 +00:00
|
|
|
// @has - '//pre[@class="rust item-decl"]' 'trait Deref {'
|
|
|
|
// @has - '//pre[@class="rust item-decl"]' 'type Target: ?Sized;'
|
2015-04-07 07:16:35 +00:00
|
|
|
type Target: ?Sized;
|
|
|
|
|
2023-01-30 18:05:12 +00:00
|
|
|
// @has - '//pre[@class="rust item-decl"]' \
|
2015-04-07 07:16:35 +00:00
|
|
|
// "fn deref<'a>(&'a self) -> &'a Self::Target;"
|
|
|
|
fn deref<'a>(&'a self) -> &'a Self::Target;
|
|
|
|
}
|
|
|
|
|
|
|
|
// @has issue_20727/reexport/trait.Deref.html
|
|
|
|
pub mod reexport {
|
2023-01-30 18:05:12 +00:00
|
|
|
// @has - '//pre[@class="rust item-decl"]' 'trait Deref {'
|
|
|
|
// @has - '//pre[@class="rust item-decl"]' 'type Target: ?Sized;'
|
|
|
|
// @has - '//pre[@class="rust item-decl"]' \
|
2022-11-02 14:10:36 +00:00
|
|
|
// "fn deref<'a>(&'a self) -> &'a Self::Target;"
|
2015-04-07 07:16:35 +00:00
|
|
|
pub use issue_20727::Deref;
|
|
|
|
}
|