2023-02-23 17:27:06 +00:00
|
|
|
error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/seq-args.rs:4:13
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2021-01-02 18:45:11 +00:00
|
|
|
LL | impl<T> Seq<T> for Vec<T> {
|
2024-07-22 22:51:53 +00:00
|
|
|
| ^^^--- help: remove the unnecessary generics
|
|
|
|
| |
|
|
|
|
| expected 0 generic arguments
|
2021-01-02 18:45:11 +00:00
|
|
|
|
|
2021-02-18 20:01:44 +00:00
|
|
|
note: trait defined here, with 0 generic parameters
|
2021-01-02 18:45:11 +00:00
|
|
|
--> $DIR/seq-args.rs:2:11
|
|
|
|
|
|
|
|
|
LL | trait Seq { }
|
|
|
|
| ^^^
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2023-02-23 17:27:06 +00:00
|
|
|
error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied
|
2021-01-02 18:45:11 +00:00
|
|
|
--> $DIR/seq-args.rs:9:10
|
|
|
|
|
|
|
|
|
LL | impl Seq<bool> for u32 {
|
2024-07-22 22:51:53 +00:00
|
|
|
| ^^^------ help: remove the unnecessary generics
|
|
|
|
| |
|
|
|
|
| expected 0 generic arguments
|
2021-01-02 18:45:11 +00:00
|
|
|
|
|
2021-02-18 20:01:44 +00:00
|
|
|
note: trait defined here, with 0 generic parameters
|
2021-01-02 18:45:11 +00:00
|
|
|
--> $DIR/seq-args.rs:2:11
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2021-01-02 18:45:11 +00:00
|
|
|
LL | trait Seq { }
|
|
|
|
| ^^^
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
2018-08-22 01:12:23 +00:00
|
|
|
For more information about this error, try `rustc --explain E0107`.
|