]> git.lizzy.rs Git - rust.git/blob - src/test/compile-fail/multitrait.rs
Remove support for multiple traits in a single impl
[rust.git] / src / test / compile-fail / multitrait.rs
1 struct S {
2  y: int;
3 }
4
5 impl S: Cmp, ToStr { //~ ERROR: expected `{` but found `,`
6   fn eq(&&other: S) { false }
7   fn to_str() -> ~str { ~"hi" }
8 }