rust/src/test/ui/issues/issue-58857.rs

8 lines
130 B
Rust
Raw Normal View History

struct Conj<A> {a : A}
trait Valid {}
impl<A: !Valid> Conj<A>{}
//~^ ERROR negative trait bounds are not supported
fn main() {}