blob: df11f2d855ce0115bf16a7be7cadb88869837de1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// run-rustfix
trait Tr {} //~ ERROR negative trait bounds are not supported
trait Tr2: SuperA {} //~ ERROR negative trait bounds are not supported
trait Tr3: SuperB {} //~ ERROR negative trait bounds are not supported
trait Tr4: SuperB + SuperD {}
trait Tr5 {}
trait SuperA {}
trait SuperB {}
trait SuperC {}
trait SuperD {}
fn main() {}
|