2015-04-07 02:16:35 -05:00
|
|
|
// aux-build:issue-20727.rs
|
2015-04-22 17:22:36 -05:00
|
|
|
// ignore-cross-compile
|
2015-04-07 02:16:35 -05:00
|
|
|
|
|
|
|
extern crate issue_20727;
|
|
|
|
|
|
|
|
// @has issue_20727/trait.Deref.html
|
|
|
|
pub trait Deref {
|
|
|
|
// @has - '//*[@class="rust trait"]' 'trait Deref {'
|
|
|
|
// @has - '//*[@class="rust trait"]' 'type Target: ?Sized;'
|
|
|
|
type Target: ?Sized;
|
|
|
|
|
|
|
|
// @has - '//*[@class="rust trait"]' \
|
|
|
|
// "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 {
|
|
|
|
// @has - '//*[@class="rust trait"]' 'trait Deref {'
|
|
|
|
// @has - '//*[@class="rust trait"]' 'type Target: ?Sized;'
|
|
|
|
// @has - '//*[@class="rust trait"]' \
|
2022-11-02 09:10:36 -05:00
|
|
|
// "fn deref<'a>(&'a self) -> &'a Self::Target;"
|
2015-04-07 02:16:35 -05:00
|
|
|
pub use issue_20727::Deref;
|
|
|
|
}
|