blob: 44be8817b08c7f4e85a512afbd601c16c9679802 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
trait Add<Rhs=Self> {
type Output;
}
trait Sub<Rhs=Self> {
type Output;
}
type Test = dyn Add + Sub;
//~^ ERROR E0393
//~| ERROR E0191
//~| ERROR E0393
//~| ERROR E0225
fn main() { }
|