summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-58857.rs
blob: 4350d7e5b403bcabc727c7c816bfae23f248eada (plain)
1
2
3
4
5
6
7
struct Conj<A> {a : A}
trait Valid {}

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

fn main() {}