3c995fb8f3
Issue #2201.
13 lines
204 B
Rust
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 */
|
|
}
|
|
|
|
}
|