blob: 428be79617d7feebf7b1a147b16e203f8801c092 [file] [log] [blame] [edit]
fn foo<T: PartialEq>(_: T) {}
struct S;
fn main() {
foo(S);
//~^ ERROR can't compare `S` with `S`
}