rust/src/test/ui/issues/issue-34229.rs
Oliver Scherer 61efc3b71b Update tests
2018-12-04 10:06:05 +01:00

6 lines
150 B
Rust

#[derive(PartialEq)] struct Comparable;
#[derive(PartialEq, PartialOrd)] struct Nope(Comparable);
//~^ ERROR can't compare `Comparable`
fn main() {}