]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/multitrait.rs
:arrow_up: rust-analyzer
[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 }