blob: 465aea515eef5135921594ce7798ca3b6eea9d4e [file] [log] [blame]
trait Add<Rhs=Self> {
type Output;
}
trait Sub<Rhs=Self> {
type Output;
}
type Test = dyn Add + Sub;
//~^ ERROR E0225
fn main() { }