]> git.lizzy.rs Git - rust.git/blob - src/test/ui/seq-args.rs
Merge commit 'e36a20c24f35a4cee82bbdc600289104c9237c22' into ra-sync-and-pms-component
[rust.git] / src / test / ui / seq-args.rs
1 fn main() {
2     trait Seq { }
3
4     impl<T> Seq<T> for Vec<T> {
5         //~^ ERROR this trait takes 0 generic arguments but 1 generic argument
6         /* ... */
7     }
8
9     impl Seq<bool> for u32 {
10         //~^ ERROR this trait takes 0 generic arguments but 1 generic argument
11         /* Treat the integer as a sequence of bits */
12     }
13 }