rust/src/test/compile-fail/multitrait.rs
Tim Chevalier f5093dff7b Remove support for multiple traits in a single impl
There was half-working support for them, but they were never fully
implemented or even approved. Remove them altogether.

Closes #3410
2012-09-07 17:22:04 -07:00

8 lines
No EOL
145 B
Rust

struct S {
y: int;
}
impl S: Cmp, ToStr { //~ ERROR: expected `{` but found `,`
fn eq(&&other: S) { false }
fn to_str() -> ~str { ~"hi" }
}