rust/src/test/compile-fail/seq-args.rs

13 lines
205 B
Rust
Raw Normal View History

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 */
}
}