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_2/trait.Add.html
|
|
|
|
pub trait Add<RHS = Self> {
|
2023-01-14 11:58:55 -06:00
|
|
|
// @has - '//div[@class="item-decl"]/pre[@class="rust"]' 'trait Add<RHS = Self> {'
|
|
|
|
// @has - '//div[@class="item-decl"]/pre[@class="rust"]' 'type Output;'
|
2015-04-07 02:16:35 -05:00
|
|
|
type Output;
|
|
|
|
|
2023-01-14 11:58:55 -06:00
|
|
|
// @has - '//div[@class="item-decl"]/pre[@class="rust"]' 'fn add(self, rhs: RHS) -> Self::Output;'
|
2015-04-07 02:16:35 -05:00
|
|
|
fn add(self, rhs: RHS) -> Self::Output;
|
|
|
|
}
|
|
|
|
|
|
|
|
// @has issue_20727_2/reexport/trait.Add.html
|
|
|
|
pub mod reexport {
|
2023-01-14 11:58:55 -06:00
|
|
|
// @has - '//div[@class="item-decl"]/pre[@class="rust"]' 'trait Add<RHS = Self> {'
|
|
|
|
// @has - '//div[@class="item-decl"]/pre[@class="rust"]' 'type Output;'
|
|
|
|
// @has - '//div[@class="item-decl"]/pre[@class="rust"]' 'fn add(self, rhs: RHS) -> Self::Output;'
|
2015-04-07 02:16:35 -05:00
|
|
|
pub use issue_20727::Add;
|
|
|
|
}
|