]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/multitrait.rs
Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' 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 }