]> git.lizzy.rs Git - rust.git/blob - src/test/ui/seq-args.stderr
Rollup merge of #99479 - Enselic:import-can-be-without-id, r=camelid
[rust.git] / src / test / ui / seq-args.stderr
1 error[E0107]: this trait takes 0 generic arguments but 1 generic argument was supplied
2   --> $DIR/seq-args.rs:4:13
3    |
4 LL |     impl<T> Seq<T> for Vec<T> {
5    |             ^^^--- help: remove these generics
6    |             |
7    |             expected 0 generic arguments
8    |
9 note: trait defined here, with 0 generic parameters
10   --> $DIR/seq-args.rs:2:11
11    |
12 LL |     trait Seq { }
13    |           ^^^
14
15 error[E0107]: this trait takes 0 generic arguments but 1 generic argument was supplied
16   --> $DIR/seq-args.rs:9:10
17    |
18 LL |     impl Seq<bool> for u32 {
19    |          ^^^------ help: remove these generics
20    |          |
21    |          expected 0 generic arguments
22    |
23 note: trait defined here, with 0 generic parameters
24   --> $DIR/seq-args.rs:2:11
25    |
26 LL |     trait Seq { }
27    |           ^^^
28
29 error: aborting due to 2 previous errors
30
31 For more information about this error, try `rustc --explain E0107`.