fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
905 B31 linesraw
1error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied
2  --> $DIR/seq-args.rs:4:13
3   |
4LL |     impl<T> Seq<T> for Vec<T> {
5   |             ^^^--- help: remove these generics
6   |             |
7   |             expected 0 generic arguments
8   |
9note: trait defined here, with 0 generic parameters
10  --> $DIR/seq-args.rs:2:11
11   |
12LL |     trait Seq { }
13   |           ^^^
14
15error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied
16  --> $DIR/seq-args.rs:9:10
17   |
18LL |     impl Seq<bool> for u32 {
19   |          ^^^------ help: remove these generics
20   |          |
21   |          expected 0 generic arguments
22   |
23note: trait defined here, with 0 generic parameters
24  --> $DIR/seq-args.rs:2:11
25   |
26LL |     trait Seq { }
27   |           ^^^
28
29error: aborting due to 2 previous errors
30
31For more information about this error, try `rustc --explain E0107`.