rust/tests/ui/issues/issue-58857.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
124 B
Rust
Raw Normal View History

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