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