rust/tests/ui/seq-args.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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 08:56:47 -07:00
--> $DIR/seq-args.rs:4:13
2018-08-08 14:28:26 +02:00
|
LL | impl<T> Seq<T> for Vec<T> {
| ^^^--- help: remove these generics
| |
2021-02-18 21:01:44 +01:00
| expected 0 generic arguments
|
2021-02-18 21:01:44 +01:00
note: trait defined here, with 0 generic parameters
--> $DIR/seq-args.rs:2:11
|
LL | trait Seq { }
| ^^^
2018-08-08 14:28:26 +02: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 21:01:44 +01:00
| expected 0 generic arguments
|
2021-02-18 21:01:44 +01:00
note: trait defined here, with 0 generic parameters
--> $DIR/seq-args.rs:2:11
2018-08-08 14:28:26 +02:00
|
LL | trait Seq { }
| ^^^
2018-08-08 14:28:26 +02:00
error: aborting due to 2 previous errors
2018-08-21 21:12:23 -04:00
For more information about this error, try `rustc --explain E0107`.