Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
trait-bounds
/
negative-bound-not-supported-58857.rs
blob: 0a0b70a216be6aaf34c8fde7bc0afc0a04899181 [
file
] [
log
] [
blame
]
// 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
()
{}