]> git.lizzy.rs Git - rust.git/blob - src/test/ui/seq-args.rs
Rollup merge of #100490 - lcnr:wf-consts, r=jackh726
[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 }