about summary refs log tree commit diff
path: root/src/test/ui/seq-args.rs
blob: 9bb9f12f64c0a87691d1d0c3e77e4c594f3822c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
fn main() {
trait Seq { }

impl<T> Seq<T> for Vec<T> { //~ ERROR wrong number of type arguments
    /* ... */
}
impl Seq<bool> for u32 { //~ ERROR wrong number of type arguments
   /* Treat the integer as a sequence of bits */
}

}