]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/multitrait.rs
Sync portable-simd to rust-lang/portable-simd@72df4c45056a8bc0d1b3f06fdc828722177f0763
[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 }