rust/tests/ui/seq-args.stderr

32 lines
905 B
Plaintext
Raw Normal View History

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
|
LL | impl<T> Seq<T> for Vec<T> {
| ^^^--- help: remove these generics
| |
2021-02-18 20:01:44 +00:00
| expected 0 generic arguments
|
2021-02-18 20:01:44 +00:00
note: trait defined here, with 0 generic parameters
--> $DIR/seq-args.rs:2:11
|
LL | trait Seq { }
| ^^^
2018-08-08 12:28:26 +00:00
error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied
--> $DIR/seq-args.rs:9:10
|
LL | impl Seq<bool> for u32 {
| ^^^------ help: remove these generics
| |
2021-02-18 20:01:44 +00:00
| expected 0 generic arguments
|
2021-02-18 20:01:44 +00:00
note: trait defined here, with 0 generic parameters
--> $DIR/seq-args.rs:2:11
2018-08-08 12:28:26 +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`.