summary refs log tree commit diff
path: root/src/test/ui/issues/issue-58857.rs
blob: 392e4ea0c2ecc2ca65d99dcc1dc02cb320e056b3 (plain)
1
2
3
4
5
6
7
struct Conj<A> {a : A}
trait Valid {}

impl<A: !Valid> Conj<A>{}
//~^ ERROR negative trait bounds are not supported

fn main() {}