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