2019-03-10 21:46:44 -05:00
|
|
|
trait Tr: !SuperA {}
|
2019-12-08 05:19:53 -06:00
|
|
|
//~^ ERROR negative bounds are not supported
|
2019-03-10 21:46:44 -05:00
|
|
|
trait Tr2: SuperA + !SuperB {}
|
2019-12-08 05:19:53 -06:00
|
|
|
//~^ ERROR negative bounds are not supported
|
2019-03-10 21:46:44 -05:00
|
|
|
trait Tr3: !SuperA + SuperB {}
|
2019-12-08 05:19:53 -06:00
|
|
|
//~^ ERROR negative bounds are not supported
|
2019-03-10 21:46:44 -05:00
|
|
|
trait Tr4: !SuperA + SuperB
|
2023-04-25 00:15:50 -05:00
|
|
|
//~^ ERROR negative bounds are not supported
|
|
|
|
+ !SuperC + SuperD {}
|
2019-12-08 05:19:53 -06:00
|
|
|
//~^ ERROR negative bounds are not supported
|
2019-03-10 21:46:44 -05:00
|
|
|
trait Tr5: !SuperA
|
2023-04-25 00:15:50 -05:00
|
|
|
//~^ ERROR negative bounds are not supported
|
|
|
|
+ !SuperB {}
|
2019-12-08 05:19:53 -06:00
|
|
|
//~^ ERROR negative bounds are not supported
|
2018-12-16 02:50:49 -06:00
|
|
|
|
|
|
|
trait SuperA {}
|
|
|
|
trait SuperB {}
|
|
|
|
trait SuperC {}
|
|
|
|
trait SuperD {}
|
|
|
|
|
|
|
|
fn main() {}
|