mirror of
https://github.com/rust-lang/rust.git
synced 2025-09-29 07:08:14 +00:00
9 lines
174 B
Rust
9 lines
174 B
Rust
// https://github.com/rust-lang/rust/issues/58857
|
|
struct Conj<A> {a : A}
|
|
trait Valid {}
|
|
|
|
impl<A: !Valid> Conj<A>{}
|
|
//~^ ERROR negative bounds are not supported
|
|
|
|
fn main() {}
|