rust/src/test/compile-fail/seq-args.rs
2012-08-08 18:19:24 -07:00

13 lines
192 B
Rust

use std;
fn main() {
trait seq { }
impl<T> ~[T]: seq<T> { //~ ERROR wrong number of type arguments
/* ... */
}
impl u32: seq<bool> {
/* Treat the integer as a sequence of bits */
}
}