mirror of
https://git.proxmox.com/git/rustc
synced 2026-02-04 05:16:15 +00:00
20 lines
417 B
Plaintext
20 lines
417 B
Plaintext
// run-rustfix
|
|
|
|
trait Tr {}
|
|
//~^ ERROR negative bounds are not supported
|
|
trait Tr2: SuperA {}
|
|
//~^ ERROR negative bounds are not supported
|
|
trait Tr3: SuperB {}
|
|
//~^ ERROR negative bounds are not supported
|
|
trait Tr4: SuperB + SuperD {}
|
|
//~^ ERROR negative bounds are not supported
|
|
trait Tr5 {}
|
|
//~^ ERROR negative bounds are not supported
|
|
|
|
trait SuperA {}
|
|
trait SuperB {}
|
|
trait SuperC {}
|
|
trait SuperD {}
|
|
|
|
fn main() {}
|