2012-04-16 00:06:19 -05:00
|
|
|
use std;
|
|
|
|
fn main() {
|
|
|
|
iface seq { }
|
|
|
|
|
2012-06-29 18:26:56 -05:00
|
|
|
impl <T> of seq<T> for ~[T] { //! ERROR wrong number of type arguments
|
2012-04-16 00:06:19 -05:00
|
|
|
/* ... */
|
|
|
|
}
|
|
|
|
impl of seq<bool> for u32 {
|
|
|
|
/* Treat the integer as a sequence of bits */
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|