2018-12-16 15:50:49 +07:00
|
|
|
// run-rustfix
|
|
|
|
|
2019-03-10 19:46:44 -07:00
|
|
|
trait Tr {}
|
2019-12-08 12:19:53 +01:00
|
|
|
//~^ ERROR negative bounds are not supported
|
2019-03-10 19:46:44 -07:00
|
|
|
trait Tr2: SuperA {}
|
2019-12-08 12:19:53 +01:00
|
|
|
//~^ ERROR negative bounds are not supported
|
2019-03-10 19:46:44 -07:00
|
|
|
trait Tr3: SuperB {}
|
2019-12-08 12:19:53 +01:00
|
|
|
//~^ ERROR negative bounds are not supported
|
2018-12-16 15:50:49 +07:00
|
|
|
trait Tr4: SuperB + SuperD {}
|
2019-12-08 12:19:53 +01:00
|
|
|
//~^ ERROR negative bounds are not supported
|
2018-12-16 15:50:49 +07:00
|
|
|
trait Tr5 {}
|
2019-12-08 12:19:53 +01:00
|
|
|
//~^ ERROR negative bounds are not supported
|
2018-12-16 15:50:49 +07:00
|
|
|
|
|
|
|
trait SuperA {}
|
|
|
|
trait SuperB {}
|
|
|
|
trait SuperC {}
|
|
|
|
trait SuperD {}
|
|
|
|
|
|
|
|
fn main() {}
|