Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mutagen-plugin: rror[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 1 field #131

Open
bbigras opened this issue Jul 16, 2018 · 0 comments

Comments

@bbigras
Copy link

bbigras commented Jul 16, 2018

75f6145 (for moth mutagen and mutagen-plugin)
rustc 1.28.0-nightly (e3bf634e0 2018-06-28)

error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 1 field
    --> /home/bbigras/.cargo/git/checkouts/mutagen-970aecd63f482776/75f6145/plugin/src/lib.rs:1161:9
     |
1161 |         TyKind::ImplTrait(_, ref bounds) => {
     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 field, found 2
error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 1 field
    --> /home/bbigras/.cargo/git/checkouts/mutagen-970aecd63f482776/75f6145/plugin/src/lib.rs:1204:11
     |
1204 |         (&TyKind::ImplTrait(_, ref abounds), &TyKind::ImplTrait(_, ref bbounds)) => {
     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 field, found 2
error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 1 field
    --> /home/bbigras/.cargo/git/checkouts/mutagen-970aecd63f482776/75f6145/plugin/src/lib.rs:1204:47
     |
1204 |         (&TyKind::ImplTrait(_, ref abounds), &TyKind::ImplTrait(_, ref bbounds)) => {
     |                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 field, found 2
error: aborting due to 3 previous errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant