]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/multitrait.rs
Merge commit '54a20a02ecd0e1352a871aa0990bcc8b8b03173e' into clippyup
[rust.git] / src / test / ui / parser / multitrait.rs
1 struct S {
2  y: isize
3 }
4
5 impl Cmp, ToString for S {
6 //~^ ERROR: expected one of `!`, `(`, `+`, `::`, `<`, `for`, `where`, or `{`, found `,`
7   fn eq(&&other: S) { false }
8   fn to_string(&self) -> String { "hi".to_string() }
9 }