]> git.lizzy.rs Git - rust.git/blob - tests/ui/seq-args.rs
Rollup merge of #106113 - krasimirgg:llvm-16-ext-tyid, r=nikic
[rust.git] / tests / 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 }