blob: f9b4b37acc0dd1240386eefe977decc19593d121 [file] [log] [blame]
struct S {
y: isize
}
impl Cmp, ToString for S {
//~^ ERROR: expected one of `!`, `(`, `+`, `::`, `<`, `for`, `where`, or `{`, found `,`
fn eq(&&other: S) { false }
fn to_string(&self) -> String { "hi".to_string() }
}