15 lines
342 B
Rust
15 lines
342 B
Rust
// 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() {}
|