rust/src/test/ui/issues/issue-58857.rs
2019-03-01 14:42:39 -08:00

8 lines
130 B
Rust

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