]> git.lizzy.rs Git - rust.git/blob - src/test/ui/seq-args.rs
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / seq-args.rs
1 fn main() {
2 trait Seq { }
3
4 impl<T> Seq<T> for Vec<T> { //~ ERROR wrong number of type arguments
5     /* ... */
6 }
7 impl Seq<bool> for u32 { //~ ERROR wrong number of type arguments
8    /* Treat the integer as a sequence of bits */
9 }
10
11 }