blob: 094c93a8535d852ad952d31e1d902bae890ebdae (
plain)
1
2
3
4
5
6
7
8
|
pub struct A;
fn main() {
match () {
_ => match A::partial_cmp() {},
//~^ ERROR the function or associated item `partial_cmp` exists for struct `A`, but its trait bounds were not satisfied
}
}
|