summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-34229.rs
blob: 13e627a492f404d4cb9eb9d9ca8313257e042a0c (plain)
1
2
3
4
5
#[derive(PartialEq)] struct Comparable;
#[derive(PartialEq, PartialOrd)] struct Nope(Comparable);
//~^ ERROR can't compare `Comparable`

fn main() {}