mutagen icon indicating copy to clipboard operation
mutagen copied to clipboard

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

Open bbigras opened this issue 7 years ago • 0 comments

75f61450 (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

bbigras avatar Jul 16 '18 15:07 bbigras