rust/src/test/compile-fail/seq-args.rs
2012-04-19 21:01:11 -07:00

13 lines
204 B
Rust

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