about summary refs log tree commit diff
path: root/tests/ui/associated-types/issue-22560.rs
blob: 465aea515eef5135921594ce7798ca3b6eea9d4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
trait Add<Rhs=Self> {
    type Output;
}

trait Sub<Rhs=Self> {
    type Output;
}

type Test = dyn Add + Sub;
//~^ ERROR E0225

fn main() { }