blob: db2cb9b7a173dddb1f30e039f784c4f939dce143 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
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 */
}
}
|